From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Biju Das <biju.das.jz@bp.renesas.com>,
Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH 11/13] arm64: dts: renesas: rzt2h/rzn2h: Enable eMMC
Date: Tue, 19 Aug 2025 08:59:47 +0100 [thread overview]
Message-ID: <CA+V-a8s5Z+X-ueGdNWGs1i3PDN4P4COxCR9p-k0X8v22BkfvUg@mail.gmail.com> (raw)
In-Reply-To: <CAMuHMdUeLewbDu-pge0ee0+AKzicKuS7fzce7d0pNc20h6CoGQ@mail.gmail.com>
Hi Geert,
Thank you for the review.
On Mon, Aug 18, 2025 at 5:02 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Tue, 12 Aug 2025 at 22:03, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> >
> > Enable eMMC on RZ/T2H and RZ/N2H EVKs. As SDHI0 can be connected to
> > either eMMC0/SD0 `SD0_EMMC` macro is added.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Thanks for your patch!
>
> > --- a/arch/arm64/boot/dts/renesas/r9a09g087m44-rzn2h-evk.dts
> > +++ b/arch/arm64/boot/dts/renesas/r9a09g087m44-rzn2h-evk.dts
> > @@ -10,6 +10,15 @@
> > #include <dt-bindings/gpio/gpio.h>
> >
> > #include "r9a09g087m44.dtsi"
> > +
> > +/*
> > + * SD0 can be connected to either eMMC (U33) or SD card slot CN21
> > + * Lets by default enable the eMMC, note we need the below SW settings
> > + * for eMMC.
> > + * DSW5[1] = ON; DSW5[2] = ON
> > + */
>
> Both SD0 and eMMC also need DSW17[5] = OFF; DSW17[6] = ON.
>
Agreed.
> > +#define SD0_EMMC 1
> > +
> > #include "rzt2h-n2h-evk-common.dtsi"
> >
> > /*
>
> > --- a/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi
>
> > @@ -44,6 +63,34 @@ sci0_pins: sci0-pins {
> > pinmux = <RZT2H_PORT_PINMUX(27, 4, 0x14)>,
> > <RZT2H_PORT_PINMUX(27, 5, 0x14)>;
> > };
> > +
> > +#if SD0_EMMC
> > + sdhi0-emmc-iovs-hog {
> > + gpio-hog;
> > + gpios = <RZT2H_GPIO(2, 6) GPIO_ACTIVE_HIGH>;
> > + output-high;
> > + line-name = "SD0_IOVS";
> > + };
> > +#endif
> > +
> > + sdhi0_emmc_pins: sd0-emmc-group {
> > + sd0-emmc-data-pins {
>
> No need for repeated sd0-emmc-prefixes in the subnodes.
>
>
Ok, I will get rid of them.
Cheers,
Prabhakar
> > + pinmux = <RZT2H_PORT_PINMUX(12, 2, 0x29)>, /* SD0_DATA0 */
> > + <RZT2H_PORT_PINMUX(12, 3, 0x29)>, /* SD0_DATA1 */
> > + <RZT2H_PORT_PINMUX(12, 4, 0x29)>, /* SD0_DATA2 */
> > + <RZT2H_PORT_PINMUX(12, 5, 0x29)>, /* SD0_DATA3 */
> > + <RZT2H_PORT_PINMUX(12, 6, 0x29)>, /* SD0_DATA4 */
> > + <RZT2H_PORT_PINMUX(12, 7, 0x29)>, /* SD0_DATA5 */
> > + <RZT2H_PORT_PINMUX(13, 0, 0x29)>, /* SD0_DATA6 */
> > + <RZT2H_PORT_PINMUX(13, 1, 0x29)>; /* SD0_DATA7 */
> > + };
> > +
> > + sd0-emmc-ctrl-pins {
> > + pinmux = <RZT2H_PORT_PINMUX(12, 0, 0x29)>, /* SD0_CLK */
> > + <RZT2H_PORT_PINMUX(12, 1, 0x29)>, /* SD0_CMD */
> > + <RZT2H_PORT_PINMUX(13, 2, 0x29)>; /* SD0_RST# */
> > + };
> > + };
> > };
>
> The rest LGTM.
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> 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
next prev parent reply other threads:[~2025-08-19 8:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-12 20:03 [PATCH 00/13] arm64: dts: renesas: Add support for SCI/LEDs/I2C/MMC on RZ/{T2H,RZ/N2H} SoCs and boards Prabhakar
2025-08-12 20:03 ` [PATCH 01/13] arm64: dts: renesas: r9a09g077: Add DT nodes for SCI channels 1-5 Prabhakar
2025-08-18 12:54 ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 02/13] arm64: dts: renesas: r9a09g087: " Prabhakar
2025-08-18 12:54 ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 03/13] arm64: dts: renesas: r9a09g077: Add pinctrl node Prabhakar
2025-08-18 12:54 ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 04/13] arm64: dts: renesas: r9a09g087: " Prabhakar
2025-08-18 13:33 ` Geert Uytterhoeven
2025-08-18 13:43 ` Lad, Prabhakar
2025-08-18 13:58 ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 05/13] arm64: dts: renesas: r9a09g077m44-rzt2h-evk: Add user LEDs Prabhakar
2025-08-18 13:15 ` Geert Uytterhoeven
2025-08-18 13:39 ` Lad, Prabhakar
2025-08-18 13:43 ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 06/13] arm64: dts: renesas: r9a09g087m44-rzn2h-evk: " Prabhakar
2025-08-18 14:14 ` Geert Uytterhoeven
2025-08-19 7:52 ` Lad, Prabhakar
2025-08-12 20:03 ` [PATCH 07/13] arm64: dts: renesas: rzt2h-evk-common: Add pinctrl for SCI0 node Prabhakar
2025-08-18 13:35 ` Geert Uytterhoeven
2025-08-18 13:36 ` Geert Uytterhoeven
2025-08-18 15:41 ` Lad, Prabhakar
2025-08-12 20:03 ` [PATCH 08/13] arm64: dts: renesas: r9a09g077m44-rzt2h-evk: Enable I2C0 and I2C1 support Prabhakar
2025-08-18 13:40 ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 09/13] arm64: dts: renesas: r9a09g087m44-rzt2h-evk: " Prabhakar
2025-08-18 13:51 ` Geert Uytterhoeven
2025-08-18 15:42 ` Lad, Prabhakar
2025-08-12 20:03 ` [PATCH 10/13] arm64: dts: renesas: rzt2h-evk-common: Enable EEPROM on I2C0 Prabhakar
2025-08-18 14:19 ` Geert Uytterhoeven
2025-08-12 20:03 ` [PATCH 11/13] arm64: dts: renesas: rzt2h/rzn2h: Enable eMMC Prabhakar
2025-08-18 16:01 ` Geert Uytterhoeven
2025-08-19 7:59 ` Lad, Prabhakar [this message]
2025-08-12 20:03 ` [PATCH 12/13] arm64: dts: renesas: rzt2h/rzn2h: Enable MicroSD card slot Prabhakar
2025-08-18 16:02 ` Geert Uytterhoeven
2025-08-19 8:09 ` Lad, Prabhakar
2025-08-12 20:03 ` [PATCH 13/13] arm64: dts: renesas: rzt2h/rzn2h: Enable SD " Prabhakar
2025-08-18 16:03 ` Geert Uytterhoeven
2025-08-19 8:20 ` Lad, Prabhakar
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=CA+V-a8s5Z+X-ueGdNWGs1i3PDN4P4COxCR9p-k0X8v22BkfvUg@mail.gmail.com \
--to=prabhakar.csengg@gmail.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fabrizio.castro.jz@renesas.com \
--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=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=robh@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).