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: 13264306 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 A7EFDC7EE2A for ; Thu, 1 Jun 2023 17:04:17 +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=r5oCW/JqV2IB1lqvpeUSEnRYQXD7bq3Ia02pENCAF28=; b=Z/Xez+8VLG2RsL aPNR9CBf6fejZahZFL+ZrJsiajb/7v5r+H6VVTjnlYQ6w3aCM49RyLsnFj8dUnYGyy9XkTSO3bWmJ +/u9TWku74r71UKJK8Dd7awdcCbciIFltzZc6MzNq3HNJdjTQswNPEYV1tkV9mdACikwKAeZj4Ska TQf3MgO+h/ZGUhkCRR6yiFg3z6BH1qKOa5AHYfmMT8zaSKeMkuP5ZMB+u35kpBpC+Xmn+49SX1dun W+5HKzq6SGuAhw8pufRlRz8iH/WhiHNPEy7a4A5L71TXvPwYmtbC4TsC+LwKgnXFfs8cdw1U6VYFk JKx7J0BIgQ3AyyH+tThw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4liJ-004LjI-2M; Thu, 01 Jun 2023 17:03:51 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q4liH-004Lhy-15 for linux-arm-kernel@lists.infradead.org; Thu, 01 Jun 2023 17:03:50 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-97000a039b2so157121266b.2 for ; Thu, 01 Jun 2023 10:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685639028; x=1688231028; 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=mcKcmUUCIxd110zie+CjXE9D2AXIydaNegCcV+6SNq0=; b=ONctjRxH7/blw2xSSjhjyNIP779YSdcSYRkUGkesaThER6cV4joKdyYdDD6JLkHkFT 9dPXPnNYVmtgtNsGmTVl5DwIAtdk9wF9Xdre4IvLfFtPZWvq1RutMaiLGPlmUPKE75ZQ kYi7DRj72VsybHu0nM8m82iG42xdjhwGoGEFE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685639028; x=1688231028; 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=mcKcmUUCIxd110zie+CjXE9D2AXIydaNegCcV+6SNq0=; b=D7rLaQD3bWq2CJGx7ZIj6WiFlFd2hr6YR2c2Wj63HojqxECJyLjUyU4liG4jPNzV8z ET9qidGjI9+ZOjLQlSLlf1Bbqb/opAXB2OFre6htEQDKfJKpUP4O2UKC3XBVLej6Yo2D QM2m4tPMmn8nHsXRMBN2eOuK9h8pvL+WS4rX2/CzfaPCroCYpXnOaO/+Q/px03g/g0cs eonD6X3BOUedZRP/LRiMGks25h0N1zWxLzyfO954N0TN2l/bosMditpeGOkEImsNvIoD t0WMFw5fiyTRD3cKW8KRmd8dfZCn57xpQGjc50AH+Elms6I11njeWpmHFyXU1m7vgfld 0eBg== X-Gm-Message-State: AC+VfDyu0a+xwZD4TFk9KhwJJAFviYUteBXNspGxkswoMmA4ABZnmAOC tFFa2xRVFFj3XK5IJ+Gu97kbqw== X-Google-Smtp-Source: ACHHUZ5N3WWPiRYSAdp/Ws29GdL2rHIl5xREti1d8ZGXwyjdXbJK4oZ3W/krDLTO2yi+qhwVPxLgog== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230601_100349_371723_ABC3FED3 X-CRM114-Status: GOOD ( 11.19 ) 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 --- 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>; + }; + }; }; }; };