From patchwork Fri Jun 9 06:20:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13273276 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C00CAC7EE25 for ; Fri, 9 Jun 2023 06:21:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jaXrecO99/FC3pfy/74uCStslk2r3HAMzFqtcjvixmQ=; b=wjbEbjSMNfV6O8 PvmTl6GRuHbfBLmhs/TlNZw9gQEX06+IyO8zPKzgIWFw0IHRRLBmJ6q/Q9w1jwXrTDHVXnk7LP54N AHIc7NIq4IHX9aAp6G4PIAGBCQ/XSFGgw0JiNN6qN2KtRaPXUW11GOQVoQ8lRZGvNzG89RmQLLh54 xYJ5Xdc2F16Nl+1ALYwEUht6JXVEt6WoKQ6U7aEzynMLi9TgshpiVZoLOuC8aAe2upA8nhJbkreEJ 87GmpNUo24wrPbAuttcb4DaWrhvdHlCPmzsVhpQzbECRJ+0TRzqS6a4NubNU1431M32A47LVNtJ6e 89CPkdtzdqfuUg0sQsJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7VV1-00Bqaj-0D; Fri, 09 Jun 2023 06:21:27 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7VUu-00BqTo-1O for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2023 06:21:22 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b1afe57bdfso15062961fa.0 for ; Thu, 08 Jun 2023 23:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1686291665; x=1688883665; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8+cZsaL4nqe4EkBv4C/rg83ziLwGA0zL1CPKVC/ZIpY=; b=Xh2ITA299ks+uNMVxghk9PCc8hpBoastqUA/GfrKAuG+XVfjPF986qVhj790OK7lBh tl5ddsLugXEw7re+iPYjfrm/tJchi43Fhm9ynnp726s9iKkhYz/FN6zt30vZGgn/gG3X LLSvsr/iSXp/NR0xGCf4l+QJJJ2WaZDEGTpBo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686291665; x=1688883665; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8+cZsaL4nqe4EkBv4C/rg83ziLwGA0zL1CPKVC/ZIpY=; b=U3UP0wk1/68nwvBenBbthTHjy0zLQv4Nhdmz+TP7OxC+pSrKHnCIhBJ3U/z8eWvZ3M lRETfKUTRUfcQSA9qL9emuEAOg1jXNxc+3lbaTHx/JxQBs0Lh9pqOWUV/xhDtEKo7TMV HYy6dFs3KWT1eT028I1ZPGvYNYobGMPWkpprWU/M1cHxJy8z/cmGXstfZFUbPqKaeT5i WEtrHdDAnfuIFWVjLRWQt6eBRqLsg3y5Perno9+GCObtDsrcZlJM1y210zqLuJlj4xcm 7gemAtCHpfHnzEWpQGwQAyG+K5E6wyDUKS2imqO51PQvjAhPrd7seXWKxukknXT+lmgu EPrQ== X-Gm-Message-State: AC+VfDxyAWw3zu2MsGOiGuGH7wIvXwR9QHzE3Y4mGeahCF4ExKu6NAt7 Tn3y/VKtwfb0MAOSZpKIHgn/OQ== X-Google-Smtp-Source: ACHHUZ5iaHPCBFL/CFyznNK8XH0UrXLqvcS9ooJKxpt4ywmkPY9MoIJv5N/4NU1OXT725VMpCpBLPA== X-Received: by 2002:a2e:990c:0:b0:2b1:b9b9:20d4 with SMTP id v12-20020a2e990c000000b002b1b9b920d4mr362059lji.5.1686291664880; Thu, 08 Jun 2023 23:21:04 -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 m7-20020aa7d347000000b005149461b1e0sm1380058edr.25.2023.06.08.23.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 23:21:04 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , 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 v3 2/4] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Fri, 9 Jun 2023 08:20:48 +0200 Message-Id: <20230609062050.2107143-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230609062050.2107143-1-dario.binacchi@amarulasolutions.com> References: <20230609062050.2107143-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230608_232120_476722_C4807EE7 X-CRM114-Status: GOOD ( 10.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add pin configurations for using LTDC (LCD-tft Display Controller) on stm32f746-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Raphaƫl Gallais-Pou --- Changes in v3: - rename ltdc-pins-a-0 to ltdc-0. 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..36dad40dd0c7 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-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>; + }; + }; }; }; };