[PATCH v2 0/3] mmc: renesas_sdhi: Add OF entries for RZ/G2H, RZ/G2N, and RZ/G2E SoCs

Prabhakar posted 3 patches 5 days, 11 hours ago
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 3 +++
1 file changed, 3 insertions(+)
[PATCH v2 0/3] mmc: renesas_sdhi: Add OF entries for RZ/G2H, RZ/G2N, and RZ/G2E SoCs
Posted by Prabhakar 5 days, 11 hours ago
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