]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: fsl_esdhc_imx: add i.MX8QM compatible
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 Jul 2019 09:35:28 +0000 (09:35 +0000)
committerPeng Fan <peng.fan@nxp.com>
Mon, 15 Jul 2019 02:30:09 +0000 (10:30 +0800)
Add i.MX8QM compatible and soc data, the soc data is following Linux
i.MX SDHC driver.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/fsl_esdhc_imx.c

index 51d22256522b699a23d798771b4b7e883fdd576f..2152d8aa3ae93c0512686bf026ae6cdbea1cea5b 100644 (file)
@@ -1630,6 +1630,12 @@ static struct esdhc_soc_data usdhc_imx7d_data = {
                        | ESDHC_FLAG_HS400,
 };
 
+static struct esdhc_soc_data usdhc_imx8qm_data = {
+       .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING |
+               ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 |
+               ESDHC_FLAG_HS400 | ESDHC_FLAG_HS400_ES,
+};
+
 static const struct udevice_id fsl_esdhc_ids[] = {
        { .compatible = "fsl,imx53-esdhc", },
        { .compatible = "fsl,imx6ul-usdhc", },
@@ -1638,6 +1644,7 @@ static const struct udevice_id fsl_esdhc_ids[] = {
        { .compatible = "fsl,imx6q-usdhc", },
        { .compatible = "fsl,imx7d-usdhc", .data = (ulong)&usdhc_imx7d_data,},
        { .compatible = "fsl,imx7ulp-usdhc", },
+       { .compatible = "fsl,imx8qm-usdhc", .data = (ulong)&usdhc_imx8qm_data,},
        { .compatible = "fsl,esdhc", },
        { /* sentinel */ }
 };