Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox