Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1666329rwd; Thu, 8 Jun 2023 23:48:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6p9GasBCABCrKzI+9z8mETCuUD8vo3fVx9F/QWGmuhFEfNOHayVPEElCS+pEloi8OihiA0 X-Received: by 2002:a17:902:b203:b0:1b2:1667:2b9 with SMTP id t3-20020a170902b20300b001b2166702b9mr237408plr.58.1686293310558; Thu, 08 Jun 2023 23:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686293310; cv=none; d=google.com; s=arc-20160816; b=F05r7CCkOTdl9/3Qer4zW9CbKZD84zNp+PD2NpeBn9DC5PNPsPaW1k5NlTuidJgwzx I0J/+NZujfrxVXYMu7WJ8Bi+YCDmDkxYh8vQMYIm+moGQi/klXLxA1MnWegqb4jS1Rvm HX7t2oIN3NEj2XHNpdb3HqTRGLuecYxQniiuFeAyChYp5BdRsPwMQJqBy4XYEJQf9icu 1z9h3iDXlaM+1bD0/c6HNB3yxpIGxV3OyEpawbZrVkieBBkldfYpAqP6/RYTxoPEMP4o 1S6012nyaQTr9TcBlqHZyr6gZE02aGBg+SPFhXqs/dBW5JefCBW77MsBLq4F8CPF+x1c iwGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=a4OGTmTOoclePfnYMeVJrtyNvDzJs1MMAejXe1lLF4U=; b=CAoJKuftZSg8iqC3c3Nx5MxgzsVxhhU0Xjwi0Mu5C05LVvUHU2yu6KjB/Cf7gCvIk8 2BtCl8jnV2o3KvUsg90Xc4aFHdgrQM/JDCgxPx21etv/rIQSdto166YQ/mL/cHBxN3Zm xsM0UOn1H4UdBz3IsSQs8bobZ4sb1tMFc+6S5pUK8RC3HDA6utP4zfXB9is/QgqIvkcY JyRv/xt9xxQDacMmD40LiW1I8Elo1tda3lakLsqBuC2xHC8AtBgUf9eyawyPB7N4GMpG EJcuUGceIiV9gmDmqEkJ69sMTVQiHS3cSJlRLf7kaVi4AiNvgGcVlLsEP0/49WYiMlFH /dww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PJdKDYgU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w3-20020a170902e88300b001b11168655esi2379397plg.334.2023.06.08.23.48.15; Thu, 08 Jun 2023 23:48:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PJdKDYgU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237994AbjFIGVx (ORCPT + 99 others); Fri, 9 Jun 2023 02:21:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238060AbjFIGVi (ORCPT ); Fri, 9 Jun 2023 02:21:38 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D721D3A86 for ; Thu, 8 Jun 2023 23:21:30 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-ba841216e92so1506048276.1 for ; Thu, 08 Jun 2023 23:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1686291690; x=1688883690; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=a4OGTmTOoclePfnYMeVJrtyNvDzJs1MMAejXe1lLF4U=; b=PJdKDYgUaZA/UehS4Xd3wEPIiioucwcND3ptD2D7v+S54ZUPfzWHIOnmM7kSPW1GbM XaDNSJipI9ujE2VEdrh+xc2xCg+O3W2QMU32Wt71Rpc5QLcyNm1ofq4F0RlSMiRTstrv Dasn3OPjDJDY1dQAA4mPqbcpnzUiDxSp7GtnY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686291690; x=1688883690; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a4OGTmTOoclePfnYMeVJrtyNvDzJs1MMAejXe1lLF4U=; b=LpmuZ8K0TQ3flC9fGuwjt8Z/vnLSLKB/V0mKVGNLegxzqGyKWeFY5QUltBmkR12jgg HTLEufjhoLuLQSugQwhyM9cH/ARccG1oG+vY/lUZapZDMwJ6UkEuumnsq07tHIlkAziH ZAXlI41R2mvDinpu8VOATmFHKcBvK+X8bryXrGKV3qysU7vt2BIoLvIQTxO7KwgWH7TH LxNzX+O8h4oRtxGYx0z90eyOjaCkp5L091WP52fSrOA9xrzRWoKPXhcpNlekQhdhMPVh iy7J5Uvep/r3PUbrbo2LB3aojhpIwkOeZOt5PruQ9nCLCrdiFgS2FzoMM3kD+AvyY1j/ IH0w== X-Gm-Message-State: AC+VfDx2IV0HScTCSwZFIoYSApEOeg5GggzevZnSzMty5BnxZrlAcpFn a/u0PDr70ODPHoShXCKU/IQxccLX8z0cygcv1wtFug== X-Received: by 2002:a25:ab50:0:b0:bab:cc32:b6b with SMTP id u74-20020a25ab50000000b00babcc320b6bmr345973ybi.5.1686291690010; Thu, 08 Jun 2023 23:21:30 -0700 (PDT) MIME-Version: 1.0 References: <20230607063139.621351-1-dario.binacchi@amarulasolutions.com> <20230607063139.621351-3-dario.binacchi@amarulasolutions.com> <7139fb21-6a1d-a26f-fef3-d3154d234ca2@foss.st.com> In-Reply-To: <7139fb21-6a1d-a26f-fef3-d3154d234ca2@foss.st.com> From: Dario Binacchi Date: Fri, 9 Jun 2023 08:21:18 +0200 Message-ID: Subject: Re: [RESEND PATCH v2 2/6] ARM: dts: stm32: add pin map for LTDC on stm32f7 To: Alexandre TORGUE Cc: linux-kernel@vger.kernel.org, Raphael Gallais-Pou , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Philippe Cornu , Amarula patchwork , Maxime Coquelin , michael@amarulasolutions.com, linux-stm32@st-md-mailman.stormreply.com, Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexandre, On Thu, Jun 8, 2023 at 2:42=E2=80=AFPM Alexandre TORGUE wrote: > > Hi Dario > > On 6/7/23 08:31, Dario Binacchi wrote: > > Add pin configurations for using LTDC (LCD-tft Display Controller) on > > stm32f746-disco board. > > > > Signed-off-by: Dario Binacchi > > --- > > > > (no changes since v1) > > > > 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 { > > ltdc-pins-a-0 --> ltdc-pins-0 is a bit cleaner. I know that I have to > fix sdio pins nodes in this file to keep the same spirit for all group > names. I have looked at the file arch/arm/boot/dts/stm32f7-pinctrl.dtsi, and based on the following nodes: usart1_pins_a: usart1-0 i2c1_pins_b: i2c1-0 can1_pins_a: can1-0 I have decided to rename ltdc-pins-a-0 to ltdc-0. I hope you agree. Thanks and regards, Dario > > If there is no V3 I wil do it directly when I'll apply DT patches if you > agree. > > Alex > > > > + pins { > > + pinmux =3D , /* 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 =3D <2>; > > + }; > > + }; > > }; > > }; > > }; > --=20 Dario Binacchi Senior Embedded Linux Developer dario.binacchi@amarulasolutions.com __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 info@amarulasolutions.com www.amarulasolutions.com