[PATCH] mmc: renesas-sdhi: Add compatible string for rzg2l-sdhi

After the recent dts/upstream subtree merge, the sdhi compatible string used in the device tree for RZ/G2L family SoCs is "renesas,rzg2l-sdhi" not "renesas,rcar-gen3-sdhi". This broke the ability to access the eMMC and SD card devices on RZ/G2L boards.
Fix this by adding the new compatible string to the sdhi driver.
Fixes: 136b7b6d2e98 ("Subtree merge tag 'v6.11-dts' of dts repo [1] into dts/upstream") Signed-off-by: Paul Barker paul.barker.ct@bp.renesas.com --- drivers/mmc/renesas-sdhi.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index 23db2a75c444..916182cdadea 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -863,6 +863,7 @@ static const struct udevice_id renesas_sdhi_match[] = { { .compatible = "renesas,sdhi-r8a77970", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77990", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77995", .data = RENESAS_GEN3_QUIRKS }, + { .compatible = "renesas,rzg2l-sdhi", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,rcar-gen4-sdhi", .data = RENESAS_GEN3_QUIRKS }, { /* sentinel */ } };

-----Original Message----- From: Paul Barker paul.barker.ct@bp.renesas.com Sent: Friday, October 18, 2024 4:52 PM To: Nobuhiro Iwamatsu iwamatsu@nigauri.org; Marek Vasut marek.vasut+renesas@mailbox.org; Peng Fan peng.fan@nxp.com; Jaehoon Chung jh80.chung@samsung.com Cc: Paul Barker paul.barker.ct@bp.renesas.com; u-boot@lists.denx.de Subject: [PATCH] mmc: renesas-sdhi: Add compatible string for rzg2l-sdhi
After the recent dts/upstream subtree merge, the sdhi compatible string used in the device tree for RZ/G2L family SoCs is "renesas,rzg2l-sdhi" not "renesas,rcar-gen3-sdhi". This broke the ability to access the eMMC and SD card devices on RZ/G2L boards.
Fix this by adding the new compatible string to the sdhi driver.
Fixes: 136b7b6d2e98 ("Subtree merge tag 'v6.11-dts' of dts repo [1] into dts/upstream") Signed-off-by: Paul Barker paul.barker.ct@bp.renesas.com
Reviewed-by: Jaehoon Chung jh80.chung@samsung.com
Best Regards, Jaehoon Chung
drivers/mmc/renesas-sdhi.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index 23db2a75c444..916182cdadea 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -863,6 +863,7 @@ static const struct udevice_id renesas_sdhi_match[] = { { .compatible = "renesas,sdhi-r8a77970", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77990", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77995", .data = RENESAS_GEN3_QUIRKS },
- { .compatible = "renesas,rzg2l-sdhi", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,rcar-gen4-sdhi", .data = RENESAS_GEN3_QUIRKS }, { /* sentinel */ }
};
2.43.0

On 10/18/24 9:51 AM, Paul Barker wrote:
After the recent dts/upstream subtree merge, the sdhi compatible string used in the device tree for RZ/G2L family SoCs is "renesas,rzg2l-sdhi" not "renesas,rcar-gen3-sdhi". This broke the ability to access the eMMC and SD card devices on RZ/G2L boards.
Fix this by adding the new compatible string to the sdhi driver.
Fixes: 136b7b6d2e98 ("Subtree merge tag 'v6.11-dts' of dts repo [1] into dts/upstream") Signed-off-by: Paul Barker paul.barker.ct@bp.renesas.com
drivers/mmc/renesas-sdhi.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index 23db2a75c444..916182cdadea 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -863,6 +863,7 @@ static const struct udevice_id renesas_sdhi_match[] = { { .compatible = "renesas,sdhi-r8a77970", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77990", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,sdhi-r8a77995", .data = RENESAS_GEN3_QUIRKS },
- { .compatible = "renesas,rzg2l-sdhi", .data = RENESAS_GEN3_QUIRKS }, { .compatible = "renesas,rcar-gen4-sdhi", .data = RENESAS_GEN3_QUIRKS },
That should be placed here _after_ rcar-gen4 if we want to pretend the list is at least somewhat sorted.
With that fixed:
Reviewed-by: Marek Vasut marek.vasut+renesas@mailbox.org
Thanks !
participants (3)
-
Jaehoon Chung
-
Marek Vasut
-
Paul Barker