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 <[email protected]>
---
  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 <[email protected]>

Thanks !

Reply via email to