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

Marek Vasut marek.vasut at mailbox.org
Wed Oct 23 02:58:42 CEST 2024


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 at 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 at mailbox.org>

Thanks !


More information about the U-Boot mailing list