mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: geert <geert@linux-m68k.org>, "biju.das.au" <biju.das.au@gmail.com>
Cc: "magnus.damm" <magnus.damm@gmail.com>,
	wsa+renesas <wsa+renesas@sang-engineering.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"linux-renesas-soc@vger.kernel.org"
	<linux-renesas-soc@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 3/3] arm64: dts: renesas: rzg3l-smarc-som: Enable SDHI2
Date: Fri, 20 Nov 2026 13:22:09 +0000	[thread overview]
Message-ID: <TYYPR01MB660300EF63BBCDA82272C45C86782@TYYPR01MB6603.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <CAMuHMdVepu0jANzDL552TKrFueydG3AHtd4v9MMXBsw6AK83kQ@mail.gmail.com>

Hi Geert,

> -----Original Message-----
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 20 November 2026 13:17
> Subject: Re: [PATCH 3/3] arm64: dts: renesas: rzg3l-smarc-som: Enable SDHI2
> 
> Hi Biju,
> 
> On Thu, 12 Nov 2026 at 19:48, Biju Das <biju.das.au@gmail.com> wrote:
> > From: Biju Das <biju.das.jz@bp.renesas.com>
> >
> > 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@bp.renesas.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
> 
> > --- 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 = &eth1;
> >                 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.

Cheers,
Biju

  reply	other threads:[~2026-11-20 13:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 18:48 [PATCH 0/3] Enable RZ/G3L SDHI Biju Das
2026-11-12 18:48 ` [PATCH 1/3] arm64: dts: renesas: r9a08g046: Add SDHI nodes for RZ/G3L SoC and SDHI1 pincontrol on SMARC EVK Biju Das
2026-11-20 12:52   ` Geert Uytterhoeven
2026-11-20 13:14     ` Biju Das
2026-11-20 13:22       ` Geert Uytterhoeven
2026-11-12 18:48 ` [PATCH 2/3] arm64: dts: renesas: rzg3l-smarc-som: Enable SD/eMMC on SDHI0 Biju Das
2026-11-20 13:04   ` Geert Uytterhoeven
2026-11-12 18:48 ` [PATCH 3/3] arm64: dts: renesas: rzg3l-smarc-som: Enable SDHI2 Biju Das
2026-11-20 13:17   ` Geert Uytterhoeven
2026-11-20 13:22     ` Biju Das [this message]
2026-11-20 13:23       ` Geert Uytterhoeven
2026-11-16 10:05 ` [PATCH 0/3] Enable RZ/G3L SDHI Wolfram Sang
2026-11-16 10:09   ` Biju Das

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TYYPR01MB660300EF63BBCDA82272C45C86782@TYYPR01MB6603.jpnprd01.prod.outlook.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=biju.das.au@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=robh@kernel.org \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®