Re: [PATCH v2 2/3] pinctrl: renesas: Add support for RZ/T2H

From: Lad, Prabhakar
Date: Thu Jul 03 2025 - 19:53:53 EST


Hi Geert,

Thank you for the review.

On Thu, Jul 3, 2025 at 11:02 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
>
> Hi Prabhakar,
>
> On Wed, 25 Jun 2025 at 15:07, Prabhakar <prabhakar.csengg@xxxxxxxxx> wrote:
> > From: Thierry Bultel <thierry.bultel.yh@xxxxxxxxxxxxxx>
> >
> > Add the pinctrl and gpio driver for RZ/T2H
> >
> > Signed-off-by: Thierry Bultel <thierry.bultel.yh@xxxxxxxxxxxxxx>
> > Co-developed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
> > ---
> > v1->v2:
> > - All the regions are now accessed by reg names
> > - Added support to validate the pins
>
> Thanks for the update!
>
> > --- a/drivers/pinctrl/renesas/Kconfig
> > +++ b/drivers/pinctrl/renesas/Kconfig
> > @@ -44,6 +44,7 @@ config PINCTRL_RENESAS
> > select PINCTRL_RZG2L if ARCH_R9A09G047
> > select PINCTRL_RZG2L if ARCH_R9A09G056
> > select PINCTRL_RZG2L if ARCH_R9A09G057
> > + select PINCTRL_RZT2H if ARCH_R9A09G077
> > select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
> > select PINCTRL_PFC_SH7264 if CPU_SUBTYPE_SH7264
> > select PINCTRL_PFC_SH7269 if CPU_SUBTYPE_SH7269
> > @@ -249,6 +250,18 @@ config PINCTRL_RZN1
> > help
> > This selects pinctrl driver for Renesas RZ/N1 devices.
> >
> > +config PINCTRL_RZT2H
> > + bool "pin control support for RZ/T2H"
> > + depends on OF
> > + depends on ARCH_R9A09G077 || COMPILE_TEST
>
> This line is not needed, as PINCTRL_RZT2H is selected above (On RZ/A1,
> RZ/A2, and RZ/N1, the pin control driver is optional). Please move the
> "|| COMPILE_TEST" to the prompt, like is done for most other drivers.
>
Ok, I will do as suggested above.

Cheers,
Prabhakar