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: 2918 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4C1F03F057 for ; Fri, 9 Jun 2023 08:21:07 +0200 (CEST) Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2b05b5a8c19sf10387821fa.3 for ; Thu, 08 Jun 2023 23:21:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686291666; cv=pass; d=google.com; s=arc-20160816; b=ac865lyeODuQuhza2uo+npb4KlqBLUsRtPGUuo1+eCjnndew5AUBFRaFqfd1SAfsZO 6UIqEJUZQZ4xAnrdUfzGcA86UyimMMJsop6vAhaqEA36ji7KFxXf5rHYmkNcF4OO8hPs 0F1b5XA5XjBeyk6dRQO0S77kLgEbM9javSD3mH0QZgzS5/FsTn0/+sbQnKnNcLkhPkTb vFlJKmk6Z0HfWnNvsxe3dAjIZWS/9xy9GxD4rI7axdiaVepKm84dvtnvVMkom6LbUa4z 95KpUOYVmY2WO4Xq8IZxyqGs0U9iwZJVohRrYcVFDO30nlxbKdqLqwdG+mkmeRmpDGqC orfA== 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=2Cc6Sel+YnkNbIAOvQ6OFpKR5wZGLmO28c9zEOUeMC8=; b=AwdiyEAUHKWFL3JxtukrDraiAIcPLJLR1kVCuBDp/z1gQ9SRTuQZrTlY+wdj9FaQbW mFfKbgFC19ygdPn3L4um8TIKc7qGfF/SiJ0VkkVXvyU4Nvumd5wZPr4oDDruEIzN576z W/E/gDuGNtW8/eWnU/6Cc5GxtLLHm2kq5bJryleULgwFxb0GIwXcVNVIPd0VJKcF4Sah lWgf8HCZjlqspnBc1y0NxAYQpbi+KUEfYa/ahmm3dhzAaB4Z61dJ1wFja1GLGq3+ihFZ ljFIlyd7IP/Tnf7lhjfx65zE61kh15CUz8ABbGIiPzzTLspaUmh2wDLNcJxZESvMP1/T lpkQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Xh2ITA29; 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=1686291666; x=1688883666; 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=2Cc6Sel+YnkNbIAOvQ6OFpKR5wZGLmO28c9zEOUeMC8=; b=OG0mG7fRkA3fzQfhNoG+ot8CS5reHY14fTCMMsUQtE92FR5cHKoDF5oZNgCLa+1PNX TCc0/3BJjCjUzJhCXqQzDsdWWlHjghRG8G6Vb9Hg4iKrRwNJWb2b/zoYLqIGpJ3t11IE jCPCnEZpk99feovibfvf3qrm5z7idsu1SAdOo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686291666; x=1688883666; 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=2Cc6Sel+YnkNbIAOvQ6OFpKR5wZGLmO28c9zEOUeMC8=; b=Xb06umtQvXJxEiF3STWDCLbVI9AnpVVpMUOnRIkFosZwdL9RZBrk94fgoMsEYtsFOq cz18EV/o6aUrJeLDZ6Ajdv/myxnEFRyPFyZqe9ocqmfmaH2MBRHyTBjwZemcgpUED0WZ VEc8ARRdjs0CoYGxlAz8BtheZ16uJ2YfmByfMpvLACSNv+BQ0rpZoGk75jSbOMldxLRh g9v5NNnUq9D+t9bii/jUxW9tXWFUWmLjDlBRjWbu6kTu/pNPBH5KMv8mUNqHQwa3MsnY +bsx8+rMAQGUNWrL7jGS+sdurl1PjVM77fp6mWbZqE6PM37aHi6MpyjQEGFGqA1WaxaO SbRA== X-Gm-Message-State: AC+VfDxr4BSEFtlm1OQRUrm7NxndapbMZQIR0ggQwM+VPQMvCYZwAL4I SDIKkxAgHDXZ4mCn8Rh85eDozRpo X-Google-Smtp-Source: ACHHUZ7MQpKRpgbmlc867WunjMKZOK1goka+r5pmlNQOAn+OREIAahR/NaGajIB7hnU7MmQTC9/Q4A== X-Received: by 2002:a2e:9d8c:0:b0:2a8:dcd4:6161 with SMTP id c12-20020a2e9d8c000000b002a8dcd46161mr384818ljj.28.1686291666729; Thu, 08 Jun 2023 23:21:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:651c:210c:b0:2af:7062:5772 with SMTP id a12-20020a05651c210c00b002af70625772ls11936ljq.1.-pod-prod-05-eu; Thu, 08 Jun 2023 23:21:05 -0700 (PDT) X-Received: by 2002:a2e:7c18:0:b0:2b1:e6a4:d096 with SMTP id x24-20020a2e7c18000000b002b1e6a4d096mr352388ljc.53.1686291665243; Thu, 08 Jun 2023 23:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686291665; cv=none; d=google.com; s=arc-20160816; b=yGnQAeedoX7jHv9pAhFLK5XCkIJ5yaHu544duSVGolerpFQOjyhrpPAl325VBpSQ4W MMqgAjZZkBWOoEDlu4NJ4pj5dwWoSABPFKj8vA6SHPFAj+Y9tqJBAi32LUpe1a/HF8eY NN9QwHXihwofNWCBLx2kzKWT2gerfH+htBi0QiX5WwBXA9W1aEtNx5AT48TjS4YVMYua BOrE0U2kGM5BzftV95aMccYcd4LfIyidjwifyaixPqPVxP4iI8ke6z8suR2ePN1BGse4 EKx5gVAAsJhjzo61csS1MMJRpiOk6/6zXtvcGHjozONzcowzHKhpMjSQtcWkOzXOjvCv IN9Q== 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=8+cZsaL4nqe4EkBv4C/rg83ziLwGA0zL1CPKVC/ZIpY=; b=V08g8vUSaqJcrL6T7rUEWOOXkW5ttrwsRCFbNrIVBtDLPLgOJamZRoCph6OQ0h4qq4 5z3n9Qaaq1DT+0mVjibMlzDfvu7Zx8c4gbh3ab4YIEyjSKmZBhWYJkTH/e98/90T1z4I hZTLKfMhczKDVxnUdER/33JmiyEo5cdsDVkfgdisW1yEASCPfEcVeKst/ccDpdQ7vtCK mTsHc1dgncf2mva8/ZRv6ULgSEHqpV8/T/uA8LvQtSaplCv3lT6mur3D8gvf/ppVVEjz iYJ/wLvhV+KhVlIj0pXJh5gaw9pO/2uBrKvsRnREIeRndvA35hbRxJWU7wEIYPhT6oge UTnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Xh2ITA29; 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 k8-20020a2ea268000000b002ac78c16420sor342469ljm.5.2023.06.08.23.21.05 for (Google Transport Security); Thu, 08 Jun 2023 23:21:05 -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: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-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Xh2ITA29; 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 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>; + }; + }; }; }; };