Commit 5274ae1eb950001cf37a6f8bc30d8f499c1d37d3
1 parent
18d62cf12e
Exists in
smarc_8mm-imx_v2019.04_4.19.35_1.1.0
and in
1 other branch
MLK-22851-2 mmc: fsl_esdhc: Update compatible string for imx8m
To enable HS400 and UHS for imx8m platforms, update the driver data to share with imx8x platforms and add relevant compatible string. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit e0cc56f76027d014414b5aed6c26af444388093a)
Showing 1 changed file with 4 additions and 2 deletions Side-by-side Diff
drivers/mmc/fsl_esdhc.c
... | ... | @@ -1682,7 +1682,7 @@ |
1682 | 1682 | MMC_MODE_HS_52MHz | MMC_MODE_HS, |
1683 | 1683 | }; |
1684 | 1684 | |
1685 | -static struct esdhc_soc_data usdhc_imx8qm_data = { | |
1685 | +static struct esdhc_soc_data usdhc_imx8x_imx8m_data = { | |
1686 | 1686 | .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING |
1687 | 1687 | | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 |
1688 | 1688 | | ESDHC_FLAG_HS400 |ESDHC_FLAG_HS400_ES, |
... | ... | @@ -1699,7 +1699,9 @@ |
1699 | 1699 | { .compatible = "fsl,imx6q-usdhc", }, |
1700 | 1700 | { .compatible = "fsl,imx7d-usdhc", .data = (ulong)&usdhc_imx7d_data,}, |
1701 | 1701 | { .compatible = "fsl,imx7ulp-usdhc", }, |
1702 | - { .compatible = "fsl,imx8qm-usdhc", .data = (ulong)&usdhc_imx8qm_data,}, | |
1702 | + { .compatible = "fsl,imx8qm-usdhc", .data = (ulong)&usdhc_imx8x_imx8m_data,}, | |
1703 | + { .compatible = "fsl,imx8mm-usdhc", .data = (ulong)&usdhc_imx8x_imx8m_data,}, | |
1704 | + { .compatible = "fsl,imx8mq-usdhc", .data = (ulong)&usdhc_imx8x_imx8m_data,}, | |
1703 | 1705 | { .compatible = "fsl,esdhc", }, |
1704 | 1706 | { /* sentinel */ } |
1705 | 1707 | }; |