[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+V-a8s-UAAP157zMRD0aqs+N_a7Avk19QYyzOyqkKq4TKpGBw@mail.gmail.com>
Date: Mon, 11 Aug 2025 14:07:49 +0100
From: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Linus Walleij <linus.walleij@...aro.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Magnus Damm <magnus.damm@...il.com>, Bartosz Golaszewski <brgl@...ev.pl>, linux-renesas-soc@...r.kernel.org,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Biju Das <biju.das.jz@...renesas.com>,
Fabrizio Castro <fabrizio.castro.jz@...esas.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>,
Thierry Bultel <thierry.bultel.yh@...renesas.com>
Subject: Re: [PATCH v5 1/3] dt-bindings: pinctrl: renesas: document RZ/T2H and
RZ/N2H SoCs
Hi Geert,
On Mon, Aug 11, 2025 at 1:47 PM Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Fri, 8 Aug 2025 at 15:30, Prabhakar <prabhakar.csengg@...il.com> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
> >
> > Document the pin and GPIO controller IP for the Renesas RZ/T2H
> > (R9A09G077) and RZ/N2H (R9A09G087) SoCs, and add the shared DTSI
> > header file used by both the bindings and the driver.
> >
> > The RZ/T2H SoC supports 729 pins, while the RZ/N2H supports 576 pins.
> > Both share the same controller architecture; separate compatible
> > strings are added for each SoC to distinguish them.
> >
> > Co-developed-by: Thierry Bultel <thierry.bultel.yh@...renesas.com>
> > Signed-off-by: Thierry Bultel <thierry.bultel.yh@...renesas.com>
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
> > Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
> > ---
> > v3->v4:
> > - Renamed DT binding file from renesas,rzt2h-pinctrl.yaml to
> > renesas,r9a09g077-pinctrl.yaml
> > - Updated the title and description to include RZ/N2H SoC
> > - Updated description, fixing the information about mux functions
> > - Dropped sd0-sd-tmp-pins sub node from sdhi0_sd_pins in the example node
> > - Added reviewed-by tag from Rob
>
> Thanks for the update!
>
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/pinctrl/renesas,r9a09g077-pinctrl.yaml
>
> > +examples:
> > + - |
> > + #include <dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h>
> > + #include <dt-bindings/pinctrl/renesas,r9a09g077-pinctrl.h>
> > +
> > + pinctrl@...c0000 {
> > + compatible = "renesas,r9a09g077-pinctrl";
> > + reg = <0x802c0000 0x2000>,
> > + <0x812c0000 0x2000>,
> > + <0x802b0000 0x2000>;
> > + reg-names = "nsr", "srs", "srn";
> > + clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
> > + gpio-controller;
> > + #gpio-cells = <2>;
> > + gpio-ranges = <&pinctrl 0 0 288>;
> > + power-domains = <&cpg>;
> > +
> > + serial0-pins {
> > + pinmux = <RZT2H_PORT_PINMUX(38, 0, 1)>, /* Tx */
> > + <RZT2H_PORT_PINMUX(38, 1, 1)>; /* Rx */
> > + };
> > +
> > + sd1-pwr-en-hog {
> > + gpio-hog;
> > + gpios = <RZT2H_GPIO(39, 2) 0>;
> > + output-high;
> > + line-name = "sd1_pwr_en";
> > + };
> > +
> > + i2c0-pins {
> > + pins = "RIIC0_SDA", "RIIC0_SCL";
> > + input-enable;
> > + };
> > +
> > + sdhi0_sd_pins: sd0-sd-group {
>
> As per my belated comments on v4, I will drop the sdhi0_sd_pins label...
>
Thank you for taking care of this, I was preparing a v6 for this.
> > + sd0-sd-ctrl-pins {
> > + pinmux = <RZT2H_PORT_PINMUX(12, 0, 0x29)>, /* SD0_CLK */
> > + <RZT2H_PORT_PINMUX(12, 1, 0x29)>; /* SD0_CMD */
> > + };
> > +
> > + sd0-sd-data-pins {
>
> ... and the "sd0-sd-" prefixes.
>
> > + pinmux = <RZT2H_PORT_PINMUX(12, 0, 0x29)>, /* SD0_CLK */
> > + <RZT2H_PORT_PINMUX(12, 1, 0x29)>; /* SD0_CMD */
> > + };
> > + };
> > + };
>
> > --- /dev/null
> > +++ b/include/dt-bindings/pinctrl/renesas,r9a09g077-pinctrl.h
>
> > +#endif /* __DT_BINDINGS_PINCTRL_RENESAS_R9A09G057_PINCTRL_H__ */
>
> G077
>
Ouch.
Cheers,
Prabhakar
Powered by blists - more mailing lists