* [PATCH v2 0/3] mmc: renesas_sdhi: Add OF entries for RZ/G2H, RZ/G2N, and RZ/G2E SoCs
@ 2026-05-19 13:53 Prabhakar
2026-05-19 13:53 ` [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC Prabhakar
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Prabhakar @ 2026-05-19 13:53 UTC (permalink / raw)
To: Wolfram Sang, Ulf Hansson, Geert Uytterhoeven, Magnus Damm
Cc: linux-mmc, linux-renesas-soc, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Hi all,
This series adds OF match entries for the Renesas RZ/G2 family of SoCs
(RZ/G2H, RZ/G2N, and RZ/G2E) in the renesas_sdhi driver. By doing so,
it ensures that the existing SDHI tuning quirks are correctly applied
to these SoCs, which share the same SDHI IP as their R-Car Gen3
counterparts.
The RZ/G2 series SoCs are functionally equivalent to their R-Car Gen3
counterparts regarding the SDHI controller logic. Specifically:
- RZ/G2H (r8a774e1) matches R-Car H3-N (r8a77951)
- RZ/G2N (r8a774b1) matches R-Car M3-N (r8a77965)
- RZ/G2E (r8a774c0) matches R-Car E3 (r8a77990)
The following performance improvements were observed during testing,
on eMMC with HS400 mode, using the mmc_test module for 1000 iterations
on each SoC:
SoC | READ BANDWIDTH (KB/s) | WRITE BANDWIDTH (KB/s) |
| Before -> After | Before -> After |
------------------------------------------------------------
RZ/G2H | 42500 -> 100744 | 70109 -> 72594 |
RZ/G2N | 46680 -> 104731 | 73393 -> 74298 |
RZ/G2E | 159472 -> 180781 | 126355 -> 127725 |
v1-v2:
- Dropped adding entries in the quirk list instead added entry
in the OF match table to map the SoCs to the existing quirks.
- Updated commit messages to reflect the above change.
- Rebased on latest linux-next (next-20260518)
v1: https://lore.kernel.org/all/20260514212024.1624517-1-prabhakar.mahadev-lad.rj@bp.renesas.com/
Cheers,
Prabhakar
Lad Prabhakar (3):
mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC
mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC
mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 3 +++
1 file changed, 3 insertions(+)
--
2.54.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC
2026-05-19 13:53 [PATCH v2 0/3] mmc: renesas_sdhi: Add OF entries for RZ/G2H, RZ/G2N, and RZ/G2E SoCs Prabhakar
@ 2026-05-19 13:53 ` Prabhakar
2026-05-19 16:09 ` Wolfram Sang
` (2 more replies)
2026-05-19 13:53 ` [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC Prabhakar
2026-05-19 13:53 ` [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC Prabhakar
2 siblings, 3 replies; 13+ messages in thread
From: Prabhakar @ 2026-05-19 13:53 UTC (permalink / raw)
To: Wolfram Sang, Ulf Hansson, Geert Uytterhoeven, Magnus Damm
Cc: linux-mmc, linux-renesas-soc, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar, stable
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
The RZ/G2H (R8A774E1) SoC was previously handled via the generic
"renesas,rcar-gen3-sdhi" fallback compatible string. However, because
the SDHI IP on RZ/G2H is identical with the R-Car H3-N (R8A77951), it
requires the specific quirks and configuration defined in
`of_r8a7795_compatible` rather than the generic Gen3 data.
Add the explicit "renesas,sdhi-r8a774e1" match entry to map it correctly.
Note that the DT binding file renesas,sdhi.yaml does not need an update
as the entry for this SoC is already present.
Fixes: 31941342888d ("arm64: dts: renesas: r8a774e1: Add SDHI nodes")
Cc: stable@vger.kernel.org
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
v1->v2:
- Dropped adding entry in the quirk list instead added entry
in the OF match table to map the SoCs to the existing quirks.
- Updated commit messages to reflect the above change.
---
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
index b716a518f265..1d3cd4c3da1f 100644
--- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
@@ -279,6 +279,7 @@ static const struct renesas_sdhi_of_data_with_quirks of_rza2_compatible = {
static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = {
{ .compatible = "renesas,sdhi-r7s9210", .data = &of_rza2_compatible, },
{ .compatible = "renesas,sdhi-mmc-r8a77470", .data = &of_rcar_gen3_compatible, },
+ { .compatible = "renesas,sdhi-r8a774e1", .data = &of_r8a7795_compatible, },
{ .compatible = "renesas,sdhi-r8a7795", .data = &of_r8a7795_compatible, },
{ .compatible = "renesas,sdhi-r8a77961", .data = &of_r8a77961_compatible, },
{ .compatible = "renesas,sdhi-r8a77965", .data = &of_r8a77965_compatible, },
--
2.54.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC
2026-05-19 13:53 [PATCH v2 0/3] mmc: renesas_sdhi: Add OF entries for RZ/G2H, RZ/G2N, and RZ/G2E SoCs Prabhakar
2026-05-19 13:53 ` [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC Prabhakar
@ 2026-05-19 13:53 ` Prabhakar
2026-05-19 16:10 ` Wolfram Sang
` (2 more replies)
2026-05-19 13:53 ` [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC Prabhakar
2 siblings, 3 replies; 13+ messages in thread
From: Prabhakar @ 2026-05-19 13:53 UTC (permalink / raw)
To: Wolfram Sang, Ulf Hansson, Geert Uytterhoeven, Magnus Damm
Cc: linux-mmc, linux-renesas-soc, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
The RZ/G2N (R8A774B1) SoC was previously handled via the generic
"renesas,rcar-gen3-sdhi" fallback compatible string. However, because
the SDHI IP on RZ/G2N is identical with the R-Car M3-N (R8A77965), it
requires the specific quirks and configuration defined in
`of_r8a77965_compatible` rather than the generic Gen3 data.
Add the explicit "renesas,sdhi-r8a774b1" match entry to map it correctly.
Note that the DT binding file renesas,sdhi.yaml does not need an update
as the entry for this SoC is already present.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
v1->v2:
- Dropped adding entry in the quirk list instead added entry
in the OF match table to map the SoCs to the existing quirks.
- Updated commit messages to reflect the above change.
---
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
index 1d3cd4c3da1f..93470aea21df 100644
--- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
@@ -279,6 +279,7 @@ static const struct renesas_sdhi_of_data_with_quirks of_rza2_compatible = {
static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = {
{ .compatible = "renesas,sdhi-r7s9210", .data = &of_rza2_compatible, },
{ .compatible = "renesas,sdhi-mmc-r8a77470", .data = &of_rcar_gen3_compatible, },
+ { .compatible = "renesas,sdhi-r8a774b1", .data = &of_r8a77965_compatible, },
{ .compatible = "renesas,sdhi-r8a774e1", .data = &of_r8a7795_compatible, },
{ .compatible = "renesas,sdhi-r8a7795", .data = &of_r8a7795_compatible, },
{ .compatible = "renesas,sdhi-r8a77961", .data = &of_r8a77961_compatible, },
--
2.54.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC
2026-05-19 13:53 [PATCH v2 0/3] mmc: renesas_sdhi: Add OF entries for RZ/G2H, RZ/G2N, and RZ/G2E SoCs Prabhakar
2026-05-19 13:53 ` [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC Prabhakar
2026-05-19 13:53 ` [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC Prabhakar
@ 2026-05-19 13:53 ` Prabhakar
2026-05-19 16:10 ` Wolfram Sang
` (2 more replies)
2 siblings, 3 replies; 13+ messages in thread
From: Prabhakar @ 2026-05-19 13:53 UTC (permalink / raw)
To: Wolfram Sang, Ulf Hansson, Geert Uytterhoeven, Magnus Damm
Cc: linux-mmc, linux-renesas-soc, linux-kernel, Prabhakar, Biju Das,
Fabrizio Castro, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
The RZ/G2E (R8A774C0) SoC was previously handled via the generic
"renesas,rcar-gen3-sdhi" fallback compatible string. However, because
the SDHI IP on RZ/G2E is identical with the R-Car E3 (R8A77990), it
requires the specific quirks and configuration defined in
`of_r8a77990_compatible` rather than the generic Gen3 data.
Add the explicit "renesas,sdhi-r8a774c0" match entry to map it correctly.
Note that the DT binding file renesas,sdhi.yaml does not need an update
as the entry for this SoC is already present.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
v1->v2:
- Dropped adding entry in the quirk list instead added entry
in the OF match table to map the SoCs to the existing quirks.
- Updated commit messages to reflect the above change.
---
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
index 93470aea21df..024edc4e5fe6 100644
--- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
@@ -280,6 +280,7 @@ static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = {
{ .compatible = "renesas,sdhi-r7s9210", .data = &of_rza2_compatible, },
{ .compatible = "renesas,sdhi-mmc-r8a77470", .data = &of_rcar_gen3_compatible, },
{ .compatible = "renesas,sdhi-r8a774b1", .data = &of_r8a77965_compatible, },
+ { .compatible = "renesas,sdhi-r8a774c0", .data = &of_r8a77990_compatible, },
{ .compatible = "renesas,sdhi-r8a774e1", .data = &of_r8a7795_compatible, },
{ .compatible = "renesas,sdhi-r8a7795", .data = &of_r8a7795_compatible, },
{ .compatible = "renesas,sdhi-r8a77961", .data = &of_r8a77961_compatible, },
--
2.54.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC
2026-05-19 13:53 ` [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC Prabhakar
@ 2026-05-19 16:09 ` Wolfram Sang
2026-05-20 7:56 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Wolfram Sang @ 2026-05-19 16:09 UTC (permalink / raw)
To: Prabhakar
Cc: Ulf Hansson, Geert Uytterhoeven, Magnus Damm, linux-mmc,
linux-renesas-soc, linux-kernel, Biju Das, Fabrizio Castro,
Lad Prabhakar, stable
[-- Attachment #1: Type: text/plain, Size: 961 bytes --]
On Tue, May 19, 2026 at 02:53:40PM +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2H (R8A774E1) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2H is identical with the R-Car H3-N (R8A77951), it
> requires the specific quirks and configuration defined in
> `of_r8a7795_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774e1" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Fixes: 31941342888d ("arm64: dts: renesas: r8a774e1: Add SDHI nodes")
> Cc: stable@vger.kernel.org
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Thank you, Geert, for the review of v1!
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC
2026-05-19 13:53 ` [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC Prabhakar
@ 2026-05-19 16:10 ` Wolfram Sang
2026-05-20 7:56 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Wolfram Sang @ 2026-05-19 16:10 UTC (permalink / raw)
To: Prabhakar
Cc: Ulf Hansson, Geert Uytterhoeven, Magnus Damm, linux-mmc,
linux-renesas-soc, linux-kernel, Biju Das, Fabrizio Castro,
Lad Prabhakar
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
On Tue, May 19, 2026 at 02:53:41PM +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2N (R8A774B1) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2N is identical with the R-Car M3-N (R8A77965), it
> requires the specific quirks and configuration defined in
> `of_r8a77965_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774b1" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC
2026-05-19 13:53 ` [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC Prabhakar
@ 2026-05-19 16:10 ` Wolfram Sang
2026-05-20 7:57 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Wolfram Sang @ 2026-05-19 16:10 UTC (permalink / raw)
To: Prabhakar
Cc: Ulf Hansson, Geert Uytterhoeven, Magnus Damm, linux-mmc,
linux-renesas-soc, linux-kernel, Biju Das, Fabrizio Castro,
Lad Prabhakar
[-- Attachment #1: Type: text/plain, Size: 814 bytes --]
On Tue, May 19, 2026 at 02:53:42PM +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2E (R8A774C0) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2E is identical with the R-Car E3 (R8A77990), it
> requires the specific quirks and configuration defined in
> `of_r8a77990_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774c0" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC
2026-05-19 13:53 ` [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC Prabhakar
2026-05-19 16:09 ` Wolfram Sang
@ 2026-05-20 7:56 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-05-20 7:56 UTC (permalink / raw)
To: Prabhakar
Cc: Wolfram Sang, Ulf Hansson, Magnus Damm, linux-mmc,
linux-renesas-soc, linux-kernel, Biju Das, Fabrizio Castro,
Lad Prabhakar, stable
On Tue, 19 May 2026 at 15:53, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2H (R8A774E1) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2H is identical with the R-Car H3-N (R8A77951), it
> requires the specific quirks and configuration defined in
> `of_r8a7795_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774e1" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Fixes: 31941342888d ("arm64: dts: renesas: r8a774e1: Add SDHI nodes")
> Cc: stable@vger.kernel.org
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> v1->v2:
> - Dropped adding entry in the quirk list instead added entry
> in the OF match table to map the SoCs to the existing quirks.
> - Updated commit messages to reflect the above change.
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC
2026-05-19 13:53 ` [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC Prabhakar
2026-05-19 16:10 ` Wolfram Sang
@ 2026-05-20 7:56 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-05-20 7:56 UTC (permalink / raw)
To: Prabhakar
Cc: Wolfram Sang, Ulf Hansson, Magnus Damm, linux-mmc,
linux-renesas-soc, linux-kernel, Biju Das, Fabrizio Castro,
Lad Prabhakar
On Tue, 19 May 2026 at 15:53, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2N (R8A774B1) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2N is identical with the R-Car M3-N (R8A77965), it
> requires the specific quirks and configuration defined in
> `of_r8a77965_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774b1" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> v1->v2:
> - Dropped adding entry in the quirk list instead added entry
> in the OF match table to map the SoCs to the existing quirks.
> - Updated commit messages to reflect the above change.
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC
2026-05-19 13:53 ` [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC Prabhakar
2026-05-19 16:10 ` Wolfram Sang
@ 2026-05-20 7:57 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2026-05-20 7:57 UTC (permalink / raw)
To: Prabhakar
Cc: Wolfram Sang, Ulf Hansson, Magnus Damm, linux-mmc,
linux-renesas-soc, linux-kernel, Biju Das, Fabrizio Castro,
Lad Prabhakar
On Tue, 19 May 2026 at 15:53, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2E (R8A774C0) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2E is identical with the R-Car E3 (R8A77990), it
> requires the specific quirks and configuration defined in
> `of_r8a77990_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774c0" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> v1->v2:
> - Dropped adding entry in the quirk list instead added entry
> in the OF match table to map the SoCs to the existing quirks.
> - Updated commit messages to reflect the above change.
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC
2026-05-19 13:53 ` [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC Prabhakar
2026-05-19 16:09 ` Wolfram Sang
2026-05-20 7:56 ` Geert Uytterhoeven
@ 2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Ulf Hansson @ 2026-05-29 14:45 UTC (permalink / raw)
To: Prabhakar
Cc: Wolfram Sang, Ulf Hansson, Geert Uytterhoeven, Magnus Damm,
linux-mmc, linux-renesas-soc, linux-kernel, Biju Das,
Fabrizio Castro, Lad Prabhakar, stable
On Tue, May 19, 2026 at 3:53 PM Prabhakar <prabhakar.csengg@gmail.com> wrote:
>
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2H (R8A774E1) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2H is identical with the R-Car H3-N (R8A77951), it
> requires the specific quirks and configuration defined in
> `of_r8a7795_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774e1" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Fixes: 31941342888d ("arm64: dts: renesas: r8a774e1: Add SDHI nodes")
> Cc: stable@vger.kernel.org
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Applied for fixes, thanks!
Kind regards
Uffe
> ---
> v1->v2:
> - Dropped adding entry in the quirk list instead added entry
> in the OF match table to map the SoCs to the existing quirks.
> - Updated commit messages to reflect the above change.
> ---
> drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> index b716a518f265..1d3cd4c3da1f 100644
> --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> @@ -279,6 +279,7 @@ static const struct renesas_sdhi_of_data_with_quirks of_rza2_compatible = {
> static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = {
> { .compatible = "renesas,sdhi-r7s9210", .data = &of_rza2_compatible, },
> { .compatible = "renesas,sdhi-mmc-r8a77470", .data = &of_rcar_gen3_compatible, },
> + { .compatible = "renesas,sdhi-r8a774e1", .data = &of_r8a7795_compatible, },
> { .compatible = "renesas,sdhi-r8a7795", .data = &of_r8a7795_compatible, },
> { .compatible = "renesas,sdhi-r8a77961", .data = &of_r8a77961_compatible, },
> { .compatible = "renesas,sdhi-r8a77965", .data = &of_r8a77965_compatible, },
> --
> 2.54.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC
2026-05-19 13:53 ` [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC Prabhakar
2026-05-19 16:10 ` Wolfram Sang
2026-05-20 7:56 ` Geert Uytterhoeven
@ 2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Ulf Hansson @ 2026-05-29 14:45 UTC (permalink / raw)
To: Prabhakar
Cc: Wolfram Sang, Ulf Hansson, Geert Uytterhoeven, Magnus Damm,
linux-mmc, linux-renesas-soc, linux-kernel, Biju Das,
Fabrizio Castro, Lad Prabhakar
On Tue, May 19, 2026 at 3:53 PM Prabhakar <prabhakar.csengg@gmail.com> wrote:
>
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2N (R8A774B1) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2N is identical with the R-Car M3-N (R8A77965), it
> requires the specific quirks and configuration defined in
> `of_r8a77965_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774b1" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> v1->v2:
> - Dropped adding entry in the quirk list instead added entry
> in the OF match table to map the SoCs to the existing quirks.
> - Updated commit messages to reflect the above change.
> ---
> drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> index 1d3cd4c3da1f..93470aea21df 100644
> --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> @@ -279,6 +279,7 @@ static const struct renesas_sdhi_of_data_with_quirks of_rza2_compatible = {
> static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = {
> { .compatible = "renesas,sdhi-r7s9210", .data = &of_rza2_compatible, },
> { .compatible = "renesas,sdhi-mmc-r8a77470", .data = &of_rcar_gen3_compatible, },
> + { .compatible = "renesas,sdhi-r8a774b1", .data = &of_r8a77965_compatible, },
> { .compatible = "renesas,sdhi-r8a774e1", .data = &of_r8a7795_compatible, },
> { .compatible = "renesas,sdhi-r8a7795", .data = &of_r8a7795_compatible, },
> { .compatible = "renesas,sdhi-r8a77961", .data = &of_r8a77961_compatible, },
> --
> 2.54.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC
2026-05-19 13:53 ` [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC Prabhakar
2026-05-19 16:10 ` Wolfram Sang
2026-05-20 7:57 ` Geert Uytterhoeven
@ 2026-05-29 14:45 ` Ulf Hansson
2 siblings, 0 replies; 13+ messages in thread
From: Ulf Hansson @ 2026-05-29 14:45 UTC (permalink / raw)
To: Prabhakar
Cc: Wolfram Sang, Ulf Hansson, Geert Uytterhoeven, Magnus Damm,
linux-mmc, linux-renesas-soc, linux-kernel, Biju Das,
Fabrizio Castro, Lad Prabhakar
On Tue, May 19, 2026 at 3:53 PM Prabhakar <prabhakar.csengg@gmail.com> wrote:
>
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> The RZ/G2E (R8A774C0) SoC was previously handled via the generic
> "renesas,rcar-gen3-sdhi" fallback compatible string. However, because
> the SDHI IP on RZ/G2E is identical with the R-Car E3 (R8A77990), it
> requires the specific quirks and configuration defined in
> `of_r8a77990_compatible` rather than the generic Gen3 data.
>
> Add the explicit "renesas,sdhi-r8a774c0" match entry to map it correctly.
> Note that the DT binding file renesas,sdhi.yaml does not need an update
> as the entry for this SoC is already present.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> v1->v2:
> - Dropped adding entry in the quirk list instead added entry
> in the OF match table to map the SoCs to the existing quirks.
> - Updated commit messages to reflect the above change.
> ---
> drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> index 93470aea21df..024edc4e5fe6 100644
> --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> @@ -280,6 +280,7 @@ static const struct of_device_id renesas_sdhi_internal_dmac_of_match[] = {
> { .compatible = "renesas,sdhi-r7s9210", .data = &of_rza2_compatible, },
> { .compatible = "renesas,sdhi-mmc-r8a77470", .data = &of_rcar_gen3_compatible, },
> { .compatible = "renesas,sdhi-r8a774b1", .data = &of_r8a77965_compatible, },
> + { .compatible = "renesas,sdhi-r8a774c0", .data = &of_r8a77990_compatible, },
> { .compatible = "renesas,sdhi-r8a774e1", .data = &of_r8a7795_compatible, },
> { .compatible = "renesas,sdhi-r8a7795", .data = &of_r8a7795_compatible, },
> { .compatible = "renesas,sdhi-r8a77961", .data = &of_r8a77961_compatible, },
> --
> 2.54.0
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-05-29 14:45 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 13:53 [PATCH v2 0/3] mmc: renesas_sdhi: Add OF entries for RZ/G2H, RZ/G2N, and RZ/G2E SoCs Prabhakar
2026-05-19 13:53 ` [PATCH v2 1/3] mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC Prabhakar
2026-05-19 16:09 ` Wolfram Sang
2026-05-20 7:56 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
2026-05-19 13:53 ` [PATCH v2 2/3] mmc: renesas_sdhi: Add OF entry for RZ/G2N SoC Prabhakar
2026-05-19 16:10 ` Wolfram Sang
2026-05-20 7:56 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
2026-05-19 13:53 ` [PATCH v2 3/3] mmc: renesas_sdhi: Add OF entry for RZ/G2E SoC Prabhakar
2026-05-19 16:10 ` Wolfram Sang
2026-05-20 7:57 ` Geert Uytterhoeven
2026-05-29 14:45 ` Ulf Hansson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.