Re: [PATCH 3/3] arm64: dts: renesas: rzg3l-smarc-som: Enable SDHI2
From: Geert Uytterhoeven
Date: Fri Nov 20 2026 - 08:23:48 EST
Hi Biju,
On Fri, 20 Nov 2026 at 14:22, Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:
> > From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> > On Thu, 12 Nov 2026 at 19:48, Biju Das <biju.das.au@xxxxxxxxx> wrote:
> > > From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> > >
> > > Enable SDHI2 on the RZ/G3L SMARC EVK platform using the internal
> > > voltage regulator for voltage switching. SDHI2 signals are muxed with
> > > I2S0; the selection is controlled by the SW_SD2_EN macro in the board
> > > DTS, which must match the position of switch SYS.4 on the SoM. By
> > > default, I2S0 is enabled.
> > >
> > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> >
> > Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> >
> > > --- a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi
> > > +++ b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi
> > > @@ -42,6 +42,7 @@ aliases {
> > > ethernet1 = ð1;
> > > i2c0 = &i2c0;
> > > mmc0 = &sdhi0;
> > > + mmc2 = &sdhi2;
> > > };
> > >
> > > memory@48000000 {
> > > @@ -355,6 +356,74 @@ sd0-data {
> > > power-source = <1800>;
> > > };
> > > };
> > > +
> > > + sdhi2_pins: sd2 {
> >
> > > + sd2-pwen {
> > > + pinmux = <RZG3L_PORT_PINMUX(K, 2, 1)>; /* SD2_PWEN */
> > > + };
> > > + };
> >
> > Just wondering: why do you use the internal voltage regulator for SD2 and GPIO hogs for SD0 and SD1?
>
> Just to give an example for the customer usage. Either use GPIO or internal regulator
> both are supported in driver.
OK. Please clarify in a comment.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds