From patchwork Thu Jun 1 17:03:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2879 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A510B3F076 for ; Thu, 1 Jun 2023 19:03:50 +0200 (CEST) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2af1589c75asf9668071fa.2 for ; Thu, 01 Jun 2023 10:03:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685639030; cv=pass; d=google.com; s=arc-20160816; b=JUZQt9/p5mzackb9hKXjbzBf/odO7K0XbBOohjyATsQo04ejgOAlTgAuyPHstndGyh KVIoI0Cio4/MEAl7Y5zt9a4aZIBOx5tEADiVWqRQf8cXiAYp7F4GdtZIae4oKPbDC3zp oNDAv5+cnn4paaOt/vs5dbjqqDO1o42JeHD56iZLWTg1PFvrVi1xywzLxcaHOzHYA2iD hL/OyShgjMTySafl3OSdOLlABBTjVUUxkg3X3jQEHsxJg4ppdaCD5ZDtA1CMldWRgtMN AwXgNKx3qfaN5UemItwxAAhH+3TejgP4buUTdVoSqxsOEHabByQfI2d6cmj+R/MFXWOP lvQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=hiUv8+5yv1X9p0fyksQ1ih2JPQLVzVeCZTVnlzJqWcQ=; b=zlucEjYhLtj3QYJvx1MFueVeQLwdHnifsUxh0RpI4cMDNjrs3+v0JngfOL/ufFsEme LyybFCHs20LfoymPlee7UZ+sOrlXzb41K5vFUajtxUxl0/OByLsRWzKL93zNlBUrFSQn t2tGGoFv7X8WpvCUMPAIm920+n0eoRV88PGWcmAzycL7tV5t9rKlWR5Jr43W/DnNlAYd iMveQQbTyFc3u7a0LOa/k7u/SasudmBPboyrSLpCfnYZ+9HUtnv43//eWQ/XqE0ZsaW6 IKiXPIUii5ufkGa6p0+VSlhtIcxxiRu6bsg7r0F+cGEre5eQPho8tZrD7CYVl039q5pu Y3WQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ONctjRxH; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685639030; x=1688231030; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=hiUv8+5yv1X9p0fyksQ1ih2JPQLVzVeCZTVnlzJqWcQ=; b=FbrcGQujUw2ejOpglaSKhGbn03s1MW1v2D5kFeRYqsrniRwItMyVrPFatfYQJUXIka WQ64AJH1vwIkshjh6V32zmcg/pYScZgpPUmnvyMBk+2qJfdyIwKAXjjixzPewHFEaxW3 S4daQ3ZNDY1IPEwzOgyU3o56sVdasHB8POviI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685639030; x=1688231030; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hiUv8+5yv1X9p0fyksQ1ih2JPQLVzVeCZTVnlzJqWcQ=; b=MiaWcX7RVUZnitB/kQA6eg86tudPxZMPyZ9XnRZUyOZWQaINKYYBT4jyKcEFqrqu2O QFzd+rab93oJLzrR2jgYVxv813+teM76EWCh+rPmK1DwlPo2OOYK5ZaT0x5xmiMmTIBI WofYImeRMTVqLJWOwAV2Lr3XcG6KTnoicCBHvFdY7Jg3AnN/x9r49sxbFf+ixCRl0Vth XJutJgfKIpfwYgTW56CmNPsBmCj8OQCb2TUiGXQpWwYTd62KfCqG34pretpAv8p2cC1k YjC4v8+O2oLEQDnVmhoDK8aih3yfR5DvlHoFpEWrFTXJyz0X8GU6v+V6NfoVLIXswfzo b18A== X-Gm-Message-State: AC+VfDwS/rga2zTAnwmnHenWLOlxVtAjq7v9/kfCmd2qcOQQH1I01FHB 7UdENwNrvqDVO+izg7iPrxDBH8Ph X-Google-Smtp-Source: ACHHUZ76BIYJqkhqy50hXOgvQLcwS6attpnaUg21bbkYNNl+W2aiR4hHD6LE5zW34mUpmZNIPeuH7A== X-Received: by 2002:a2e:b60e:0:b0:2aa:3cee:c174 with SMTP id r14-20020a2eb60e000000b002aa3ceec174mr67910ljn.13.1685639029833; Thu, 01 Jun 2023 10:03:49 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:b892:0:b0:2af:3051:12ed with SMTP id r18-20020a2eb892000000b002af305112edls435864ljp.1.-pod-prod-01-eu; Thu, 01 Jun 2023 10:03:48 -0700 (PDT) X-Received: by 2002:a2e:988a:0:b0:2af:2b8c:3455 with SMTP id b10-20020a2e988a000000b002af2b8c3455mr45195ljj.32.1685639028166; Thu, 01 Jun 2023 10:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685639028; cv=none; d=google.com; s=arc-20160816; b=sE/NxMZ+OE314Lz6zj07QN8r5GMMeiaRgiHlsfF4JixbCBrQcCWJrQHze5mhkkv2Y0 BaCKd/fZEhqGrN495KNWqmxO4bk2sELU6F6wAx1eQVu3EynMB97R67lC4kxIeLRyZv64 SsaBrUnnjj6lrMIvF7cZiZyH/2UzepJD1m17lD4DZf5e6TUNKD/N60Owk4AOck3SFx61 GJvCEsLNxJJ85b1rxiWKqyTDGqJi/FRdVKAoGCeS4x0G8VpFPAJvj9gGVIi7JlujcUsr c9CufMb6zTUQcqzZl4VXYLVjzs/qE+angWfLY0HNUWhBt0sOHP44zmwAJ2DgCVGYhRzs Ubhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=mcKcmUUCIxd110zie+CjXE9D2AXIydaNegCcV+6SNq0=; b=uV71Uq97QpKdZQ8IISaWB8QMl3Awyi0aTOj/00BIoMk+vboZI5K2quoJ6xe5n1dgbA GUm1sQDYY1kaJjjY0+aJvKcJdH52pGzt3rykfIB4nFInJe0D3SpiF2iU77cu0+TW08Ss 0ohx0IyuDZ6EIdKfrT4k0JZcSKEZhFykyRPw+psGRMTMgxnFebMiKRKV4R2qRGKYFfj+ gbid/yO0WuE70aSNOYJujAk1EEj+/bMSiYEgGe8jhPrYQ4UikLUvppzUjBo2urBaY5GA omW6kHZfaEyASWf9oHMFeJ46D4jMJ2Cw8wH/CmpL3T50opo1lNfb0ytEfIWo+PHV2Ot4 F6QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ONctjRxH; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id vw7-20020a170907058700b009701a1562c5sor5602651ejb.2.2023.06.01.10.03.48 for (Google Transport Security); Thu, 01 Jun 2023 10:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:ea4:b0:94f:2852:1d2b with SMTP id ho36-20020a1709070ea400b0094f28521d2bmr9669112ejc.72.1685639027798; Thu, 01 Jun 2023 10:03:47 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-248-31-20.retail.telecomitalia.it. [95.248.31.20]) by smtp.gmail.com with ESMTPSA id bh25-20020a170906a0d900b0096165b2703asm10658522ejb.110.2023.06.01.10.03.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 10:03:47 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 2/6] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Thu, 1 Jun 2023 19:03:16 +0200 Message-Id: <20230601170320.2845218-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230601170320.2845218-1-dario.binacchi@amarulasolutions.com> References: <20230601170320.2845218-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ONctjRxH; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add pin configurations for using LTDC (LCD-tft Display Controller) on stm32f746-disco board. Signed-off-by: Dario Binacchi --- arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/stm32f7-pinctrl.dtsi index 9f65403295ca..f3f90b9bcd61 100644 --- a/arch/arm/boot/dts/stm32f7-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32f7-pinctrl.dtsi @@ -365,6 +365,41 @@ pins2 { bias-pull-up; }; }; + + + ltdc_pins_a: ltdc-pins-a-0 { + pins { + pinmux = , /* LCD_B0 */ + , /* LCD_B4 */ + , /* LCD_VSYNC */ + , /* LCD_HSYNC */ + , /* LCD_CLK */ + , /* LCD_R0 */ + , /* LCD_R1 */ + , /* LCD_R2 */ + , /* LCD_R3 */ + , /* LCD_R4 */ + , /* LCD_R5 */ + , /* LCD_R6 */ + , /* LCD_R7 */ + , /* LCD_G0 */ + , /* LCD_G1 */ + , /* LCD_G2 */ + , /* LCD_G3 */ + , /* LCD_G4 */ + , /* LCD_B1 */ + , /* LCD_B2 */ + , /* LCD_B3 */ + , /* LCD_G5 */ + , /* LCD_G6 */ + , /* LCD_G7 */ + , /* LCD_B5 */ + , /* LCD_B6 */ + , /* LCD_B7 */ + ; /* LCD_DE */ + slew-rate = <2>; + }; + }; }; }; };