From patchwork Wed Jul 12 06:29:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13309601 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 E8085EB64D9 for ; Wed, 12 Jul 2023 06:29:59 +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=1WFC98fce36TVx93AUBorXsz7ZB2DwSXQEwqZ74eMZM=; b=vhNg7XOzSP44mW 3Wyt7Vab6Y9WCOIiDBNOy5WZhTlTm1DGV0Ag7pOlQceEmOudwC24khASaWG7tkmpRr1R9f7RZ6ZuY bDx7191Xn1mC1Yt9erI3mjenoRyaJtIBd65fRwPia1l7F56e4ziWnZp1JZM+87jAL+TttZr36AjhZ YXsrkBqHLZqfdA32VbcwWevCouLQZug6YFYNXzguRK4FLZtlJk/WoEdQJ8SxUkcTE5fahT+t5JbaM ixWdMOj+mB40P+JCtt4Mqqa2MuAOZ8PlP7cUT1Tn2XtjlF/66j3xpPRaPdpZqNENj0oGjUwzBtJoD gfaP025n7nzxgW2dd3OA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJTLv-00Gfpg-21; Wed, 12 Jul 2023 06:29:31 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJTLr-00Gfn6-1n for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 06:29:28 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2b6fdaf6eefso103198371fa.0 for ; Tue, 11 Jul 2023 23:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1689143365; x=1691735365; 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=jaFWUw9gKjfe3Ukcvgb1jp0d6hB2t/eCpjIsrYyKWTo=; b=fQehUMh02IXnUqs11ZSMB8+hM0rieOkvTmwEQVLV8VBy3v5+bd5MX5ualkxI3PNskM YmZxZCcv5uoER6qjccIz/NAoGEl+hVnbQpOq7L4mVnC8PUe7QVoEleBQoItSZpn6PlVL jhPthpmFJZOUGriG/kDZ6YRm5qlB2pkrK7IHQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689143365; x=1691735365; 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=jaFWUw9gKjfe3Ukcvgb1jp0d6hB2t/eCpjIsrYyKWTo=; b=QtnAKYuhMmdGnmkicYEx+Bs+DyutkAeeRZ3/s2DvNDb+DCpCOH+EOYZli0XqlNApY4 VyiyxK6mbNic6PpTqKYzuF9DMX9CDUSzTr8hjYzvn9qyxlLyQfr4QskaYTcZIbGFwD9z 8F6PnSaKwUinUXBnWMI2fX2SDLyORGshcMkQzRFST10a/iYuR121fbhneH1bkXtnJY3g K2qTY7XkArzI1eGB9mABz4MaYjXiDdjJFubjTO3m7hqAZTfLilzxzdb7+m1f2B+aauss 6I8QSe9Q/6MnRUeZ/q7yipwtGU4xnY6ID9Tuy9kGCQ530K/0EuPt+2+o9VEXADhpASTu S7pg== X-Gm-Message-State: ABy/qLaes6n9XI1cb3e7b8PhMH5PmOghyhJj8H7S7qPROUj8GuFsekP9 7Pap5dPOxtJtstw1098+20TIPA== X-Google-Smtp-Source: APBJJlFddfjiNpXl3v97FZcNWYumrgBFlgTdW/il742NBF7QIBsu0Cys8eDGmBLoo0Jnlw0299DeFA== X-Received: by 2002:a2e:8699:0:b0:2b6:9ebc:daf8 with SMTP id l25-20020a2e8699000000b002b69ebcdaf8mr15337445lji.31.1689143364867; Tue, 11 Jul 2023 23:29:24 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (host-82-58-49-236.retail.telecomitalia.it. [82.58.49.236]) by smtp.gmail.com with ESMTPSA id d21-20020a170906371500b009890e402a6bsm2065390ejc.221.2023.07.11.23.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 23:29:24 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , Raphael Gallais-Pou , Philippe Cornu , 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 v6 2/3] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Wed, 12 Jul 2023 08:29:17 +0200 Message-Id: <20230712062918.2248573-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230712062918.2248573-1-dario.binacchi@amarulasolutions.com> References: <20230712062918.2248573-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-20230711_232927_590433_44003320 X-CRM114-Status: GOOD ( 11.21 ) 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 --- (no changes since v3) Changes in v3: - rename ltdc-pins-a-0 to ltdc-0. arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi index 9f65403295ca..36dad40dd0c7 100644 --- a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/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>; + }; + }; }; }; };