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: 2938 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 DD95040CCE for ; Wed, 12 Jul 2023 08:29:27 +0200 (CEST) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2b70c44b5fdsf54169871fa.1 for ; Tue, 11 Jul 2023 23:29:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689143367; cv=pass; d=google.com; s=arc-20160816; b=oTsRmOAgM0WZe+OJ2bZunE+mCEH9+Z9hY9wdMm6shdg4HfadeO3KPwFsTYjy/unlj3 yAd02uq+FmHFskK8s8VB9GI12MrZFvYCj9Sko1h4OQO/6dY+sLA2zD2nwqyr5RjhJJ9K IM7BtNk5QLwH5ES+/R9oRGmVsSqlQhW3pWGgPKw8PnBHmwecJx8E6Gm01vLrw07I2LnK 2oKgQwCV4/k8oh2Ux3kzsswo5kvMbTuoqmNJSKo3vHyEjX8rixlCVDax0awhTq++m5Y6 Ta39jAETpjufja+WDCUxtu7ksxw3wWwPGClLCdXEojveABbOXWipW1LSHQilymxzEc4v iYnQ== 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=EZ7tmWZLdKoSO07gD0fR7dKG6unl/LBhFIdO8HTtR60=; fh=tzbQPq+N7grO1gGa+bAwyFl2D209FzUnZRd8HGB+Xqs=; b=sdZ4xtUIMUZkOvJASOchS5GfAg3VK5+UWy/5x+wcF9mpopLpQy1125ivk/0BRAApjl WbZIauR29KvSiyZuGTBQ0v2vSh46o77uv2n4HzSNHYzFQjdUMn5C7RprkV5xl8SINwtf sgT4oKObKxV1viuj454ZGtsXE7oEq/nLNCj1T6GiLJjImVx51cQYNEiqxhwGGzK0gBnQ ejBvuSxadWXG307Eq5HWS+bTmWfxmPuYCbQctnxk8VURbpntrjnf84dkOMcgU/dDaeX4 jK08ACE1oBXKZZ8iXCimr+cVFdrYKo9YyG1xVrSGkpJqoBGIS0n+WwqQXPCaOX86NIwu 6XsQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fQehUMh0; 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=1689143367; x=1691735367; 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=EZ7tmWZLdKoSO07gD0fR7dKG6unl/LBhFIdO8HTtR60=; b=Iz7y2CmT5GicIkHbGa8ye0m3QHh3sPMkjKue7q/j9OPO+Qd4+fPx3czNulLQvXjCxI jjK43nAe+1XjUGGpzDfJ0LHjJEL+lUreRKSN/kZzxHQ8bE6HUYAj39FGZr4gcsjmgYY7 +BT40bw0cTGofU09mcztlYbBJbem1j6XI31uQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689143367; x=1691735367; 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=EZ7tmWZLdKoSO07gD0fR7dKG6unl/LBhFIdO8HTtR60=; b=Qhwq4FABRvWLvLlB+FZhqCT6UWi+/i0fErzRZZb9SHvQWXerQjWTkQNQPih8bzu67G 2n5QlTiFFP1CljQKSQP5zxfeL8cmpXyepst+ihZ4wSZIDCn2zV4bkbHuWn820/ETPkIP ulHQa123z1EmytjaCOuPYQsFLuLq6EH7wQGfY+TXkkvl00sKkUBQb8kIXvnWsyezUyxb GCQWJmixsZMKbqruT994i8MfDdYAiTqd0q8A7VT0j35cp8ATkFh0MC7s6iQwPykkZffk yjC9fhaU+NuKbSssVDUbH/LxWEAdtWtrN7R95t5E4QHiD9Bpz7F61YH3fIrwpFF3IOHZ 6xZA== X-Gm-Message-State: ABy/qLZ9WpMev4znJs6txf9BJaRAM8PnLMI1qnLPPmdJu/A2pJfEPa7A UiFhgFMtN89CBkneGiHxhe2b7hIT X-Google-Smtp-Source: APBJJlGfKse6fJIjhL7uiI8qA7i30U031PXSAWsxEIJ4fmA3pk1mTN/EKtVrzCyhLqCaVcyXqQy5RQ== X-Received: by 2002:a2e:9549:0:b0:2b6:d613:2147 with SMTP id t9-20020a2e9549000000b002b6d6132147mr12521657ljh.50.1689143367067; Tue, 11 Jul 2023 23:29:27 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:651c:1547:b0:2b6:6c25:2e98 with SMTP id y7-20020a05651c154700b002b66c252e98ls1798386ljp.2.-pod-prod-06-eu; Tue, 11 Jul 2023 23:29:25 -0700 (PDT) X-Received: by 2002:a05:651c:112:b0:2b1:ed29:7c47 with SMTP id a18-20020a05651c011200b002b1ed297c47mr13830327ljb.8.1689143365355; Tue, 11 Jul 2023 23:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689143365; cv=none; d=google.com; s=arc-20160816; b=V3d0SC6ozzBdLgItdIalmnle79xBVMx3PJXkAaMip4RTatPyL7SSDZU0ZsaFJGFlWI j83g8mT31mPP91w7rl17mUhSTxM5x9r71K61f3YkN54VjxrhtFQGDf+chFeH0FYmywQJ lutW9avNqCbZLAsCQwWcTvJgfYiZIeMgD3PujUY2Cx069x5kwNoP8TubJfcgPPwmk1H4 SXWK86hce6XSdUjRUNYVj5ZHtr5mua3VFYLwend3VvuRUoqiobfNji9ElpQVehuT4ChS wQVERVjJcthrMu/iXtQyoZjQkkCjP+wA0XMQKrFn6/D35Zuj/tnQHxoEw9tKECEuYlQO MPxA== 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=jaFWUw9gKjfe3Ukcvgb1jp0d6hB2t/eCpjIsrYyKWTo=; fh=tzbQPq+N7grO1gGa+bAwyFl2D209FzUnZRd8HGB+Xqs=; b=iHIr5+bmy2/CFpfz+Vb10+Z0pRkgJbrR0Oo2qW1Xf7o6MQ0UIb8/KK78G/lGCEUDmN 5WpxBGjJ6qO0iYLWuw/b35ylgrcxVHe3RNdKeX+OebK1QRu0XHq8LXK09b/BpWt4AAVr GJ9haYRgQF6Q3G2yNW1jIk/8A8U5xyumzg6BSrRWCrPA09u4y8wppHCFWnl62Ozw13Ub z9q7dfXf+qJ383Xr2a4iYuZJJzmWob028v1Wnf5u2HFy6AsBTL6olUHNcZJuMBqU55w4 PvmR0qrw8p7NqodEe3lT0QeVwC538vMMNm5vFbKNVLnl1hentEhB4mdKeNtu6mYYDv8j VzQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fQehUMh0; 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 e13-20020a05651c038d00b002b6f55a1a1csor1882375ljp.1.2023.07.11.23.29.25 for (Google Transport Security); Tue, 11 Jul 2023 23:29:25 -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: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-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fQehUMh0; 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 --- (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>; + }; + }; }; }; };