]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 19 May 2026 13:53:40 +0000 (14:53 +0100)
committerUlf Hansson <ulfh@kernel.org>
Fri, 29 May 2026 12:25:50 +0000 (14:25 +0200)
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>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
drivers/mmc/host/renesas_sdhi_internal_dmac.c

index f6ebb7bc7ede1f4d69260d09d9d85fdf0606a034..838248bf8dd6090a5bb36d1d6cd64ebcbb7d0c6d 100644 (file)
@@ -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, },