From patchwork Mon Jun 19 16:55:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2923 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CE1093F1DB for ; Mon, 19 Jun 2023 18:55:43 +0200 (CEST) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-3f9ada46aa6sf50340701cf.1 for ; Mon, 19 Jun 2023 09:55:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687193743; cv=pass; d=google.com; s=arc-20160816; b=UhXKAzkKVFP5jqkpL/HNL8HoUG8Poa6F//T7g3sOXsrwdki1lyasbv+sYUne1xnJCh aT7ldHplpO/CP5bSQImDT3elIqnilWd+vp2ohk5Wf6E6sBStkZCLLV5PtuMP1d58vPxm PrWQgXr1pTPnd9oEdVBOmSKy0tQG2xYtDQszQ5kA+UNhN+F4PtBnBmvKe2uT7C8MCKk7 j12VgfkH7qlJgSdyAcTZz9Dnm9Oi8oPj+fRnjXcQPlYDurhCo5eCNZSY47uXtinj6SIE r1fTiWfX3BEdDFn+Au17DsXt/P7tZnLTnLKgK3hVtKE3EPwO5JzCb4TFZvGaCuiElKTR pwAg== 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=0MGtoVQxuUCRi0q8a3NHtPPvTSe/P/UiykJPNvac1SQ=; b=a/kB6aXG5Z39UIxy9lTaCFwihIdKsGLT65aWAj3ONzCpyIQOhi5VPoDhOjINlb65xq 1Pwd2SKClwpU9QTCFngTbvsLuMpQGuW+STZmWSuHHDumK2fyOm5IMDxLvU/RSSCL2xUV BlyoD4aboSfiJOOnJnsDTQycnb/kyX+SeKLlVZBEwoYNdjL4/pA/Jw13XwSLnKGcsXk4 8BrzUYTJRbPHytg5vEZAPye47CkNNc/WBly53+CpS9MWI72mKH2ceLUymegQIXPopHox SapWBPM77hW17qj0N/mROLnRBAGoeYb0UbIFTsn7YfNbjbhHC9Ktckfdd7Tl2/rUzlMq JnqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CUYIrt5p; 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=1687193743; x=1689785743; 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=0MGtoVQxuUCRi0q8a3NHtPPvTSe/P/UiykJPNvac1SQ=; b=p93tIT9Ib2JhbF2zR1CgFYVX2pqnfXwZTukNxNgdzOl4AEb/rKxPbk5wLdHFEMPPcm tCFSnW0HfCv6Zb3jgkKQ9FIDi3SGURa0YEkdig1pGpzffL67tEuBHwXq53fCr6gypnC2 jQDG1qBmTut5MjIuUBt9cZ+w9peq1vuEvoQ2M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687193743; x=1689785743; 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=0MGtoVQxuUCRi0q8a3NHtPPvTSe/P/UiykJPNvac1SQ=; b=bSi6Mb+BS1tQlkURqZFP1gZIB4ceBNiFiQSRfAcYpR3+WW/6XvgjzLOxHQcZ/yHO+l y9x/7B3rYYS+/OxlkdtLjpDybfwIERW53FFtJBniEWi/MaHgBhpG69m30eFX/94eo5le uN2tBs2CsG3v2HA/hbt3fR1lbnT2uhBkP2Gp2+lCLsTwbv2FcA8GWiXB+2rcZOVk228w hFvp8D8SltTSvuPTMm/8A6fcM8euAp1tQ+vx5wDBYyIqEwuCGeBf0M6uuyGog26CTAIJ a/3iPYtQX5fEBSFQubDIgumAKKOdOG/TWeewA4JP0+VY5OK8Jpnqe3hGyRiugibb47td a0/A== X-Gm-Message-State: AC+VfDxRBkCmWKiKI+2/Wwq5bCYw/caDBey2H4W65K66bA+xjqKb7lKc i0dOcWDg1+KqQkskPqqEl4TE6HF4iBBbnZON X-Google-Smtp-Source: ACHHUZ5AeiHdMetAox9UY3zAhGrD4PRMNQfmxIf7TWlky+ELG56hP+RphZMvSyE7hwAKdYoYwZ8K1Q== X-Received: by 2002:a05:622a:388:b0:3f9:a639:5ed3 with SMTP id j8-20020a05622a038800b003f9a6395ed3mr12183849qtx.68.1687193742868; Mon, 19 Jun 2023 09:55:42 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac8:6643:0:b0:3f6:82b4:d443 with SMTP id j3-20020ac86643000000b003f682b4d443ls314609qtp.1.-pod-prod-06-us; Mon, 19 Jun 2023 09:55:42 -0700 (PDT) X-Received: by 2002:a05:620a:3d90:b0:75e:b914:3653 with SMTP id ts16-20020a05620a3d9000b0075eb9143653mr9148431qkn.32.1687193742075; Mon, 19 Jun 2023 09:55:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687193742; cv=none; d=google.com; s=arc-20160816; b=HbR9hWVlBWTICmxsy6UNMM+yzzotJmSaqm5ypwlwf+ahsSYRhgEmoLaKYysqwvQdhj hHjMd4GZ7y5IgYVWtBcJ/v2Y7vh6sUON030tXqnKgj0+6OEUpyOqED6E2iS/guTzVgoj 65dS/jHUzM/IQHM/7YNdvCVQNc0KtLOVPX2DOwKqN0h41ttaSoLwdQyHIW7V8Brz9WYZ 5O3I2FIKcFjmcCfdVwcE/QkT8IqxlxQrWxq+N90hDJPHiXgGYuhxjac46yoe4/lfZasR GM2YI+iQqS0xke52wDBsmEkitAQEToRF67Cu3vHezuFaojz1l30dZ9zF1PajFQpsauby nghQ== 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=VnEheSovvunB6I3AktXE1UaU+sD3f90l2AKOrWC4PB8=; b=PQG3lPUNqbJmBSf5YqlvvmF/jrZKuMxyMrzvrcZ2EhD/vHb+afHU4lTnbphwwxj/1r 7wM4W5U7bG5wEnhYbYhd2UT16Y9ZRWMjtjySa5z43qukeJFwDfe0fiwU2U89Oby/wRF8 RhtnfcLbdkPYQaSRCpNh5LllunVJtC9vxCQopcbNma5eqsc+GYb0x2kgKB1EDjZbFWdj Apau5k497G2gaBz0nn5fm2lasmYM8BGEoZiWR0tHMmvN09SmJJ4mLEjTUZRs8xzIdSWe /Jq62SaBAIYxhpCxtCj6Rgir59SQLOA4Z4P4OaYmDnFx5NrHWmF20fd5BKYqXJxZ5MVJ SM+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CUYIrt5p; 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 28-20020a05620a049c00b0075e175a07a3sor130153qkr.19.2023.06.19.09.55.42 for (Google Transport Security); Mon, 19 Jun 2023 09:55:42 -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:a05:620a:8bc2:b0:762:5965:c41d with SMTP id qy2-20020a05620a8bc200b007625965c41dmr4094805qkn.28.1687193741729; Mon, 19 Jun 2023 09:55:41 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-79-25-27-4.retail.telecomitalia.it. [79.25.27.4]) by smtp.gmail.com with ESMTPSA id p23-20020a05620a15f700b0075d49ce31c3sm109103qkm.91.2023.06.19.09.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 09:55:41 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , Raphael Gallais-Pou , 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 v4 2/6] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Mon, 19 Jun 2023 18:55:21 +0200 Message-Id: <20230619165525.1035243-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230619165525.1035243-1-dario.binacchi@amarulasolutions.com> References: <20230619165525.1035243-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=CUYIrt5p; 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/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>; + }; + }; }; }; };