]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mmc: Add "ti, am335-sdhci" compatible for TI's omap_hsmmc driver
authorLukasz Majewski <lukma@denx.de>
Fri, 18 Feb 2022 12:28:41 +0000 (13:28 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 7 Mar 2022 16:36:12 +0000 (11:36 -0500)
In the Linux kernel (v5.16) for this SoC there are two separate drivers
- namely sdhci-omap.c and omap_hsmmc.c which have separate set of
compatibles.

The U-Boot's drivers/mmc/omap_hsmmc.c driver supports both eMMC and
SD devices - hence the compatible for SDHCI can be added.

After this change the am335x DTS description can be easier ported
from Linux kernel.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/omap_hsmmc.c

index 820065800fe32c7e59888fe6e1b4b1bbb516d73a..b2f4a4e7219adb05a2875eeed09fef15f8487b05 100644 (file)
@@ -2019,6 +2019,7 @@ static const struct udevice_id omap_hsmmc_ids[] = {
        { .compatible = "ti,omap3-hsmmc" },
        { .compatible = "ti,omap4-hsmmc" },
        { .compatible = "ti,am33xx-hsmmc" },
+       { .compatible = "ti,am335-sdhci" },
        { .compatible = "ti,dra7-hsmmc", .data = (ulong)&dra7_mmc_of_data },
        { }
 };