[PATCH v2 1/2] mmc: fsl_esdhc_imx: initialize data for imx7ulp
Jaehoon Chung
jh80.chung at samsung.com
Fri Sep 3 01:11:01 CEST 2021
On 9/1/21 2:49 AM, Oleksandr Suvorov wrote:
> From: Jorge Ramirez-Ortiz <jorge at foundries.io>
>
> Import data for eSDHC driver for SoC iMX7ULP from the Linux kernel.
> Set supported by u-boot flags only.
>
> Signed-off-by: Jorge Ramirez-Ortiz <jorge at foundries.io>
> Signed-off-by: Ricardo Salveti <ricardo at foundries.io>
> Co-developed-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> Reviewed-by: Fabio Estevam <festevam at gmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>
Best Regards,
Jaehoon Chung
> ---
>
> Changes in v2:
> - add a Reviewed-by record
>
> drivers/mmc/fsl_esdhc_imx.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c
> index aabf39535f..6c8f77f9ee 100644
> --- a/drivers/mmc/fsl_esdhc_imx.c
> +++ b/drivers/mmc/fsl_esdhc_imx.c
> @@ -1706,6 +1706,11 @@ static struct esdhc_soc_data usdhc_imx7d_data = {
> | ESDHC_FLAG_HS400,
> };
>
> +static struct esdhc_soc_data usdhc_imx7ulp_data = {
> + .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING
> + | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200,
> +};
> +
> static struct esdhc_soc_data usdhc_imx8qm_data = {
> .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING |
> ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200 |
> @@ -1720,7 +1725,7 @@ static const struct udevice_id fsl_esdhc_ids[] = {
> { .compatible = "fsl,imx6sl-usdhc", },
> { .compatible = "fsl,imx6q-usdhc", },
> { .compatible = "fsl,imx7d-usdhc", .data = (ulong)&usdhc_imx7d_data,},
> - { .compatible = "fsl,imx7ulp-usdhc", },
> + { .compatible = "fsl,imx7ulp-usdhc", .data = (ulong)&usdhc_imx7ulp_data,},
> { .compatible = "fsl,imx8qm-usdhc", .data = (ulong)&usdhc_imx8qm_data,},
> { .compatible = "fsl,imx8mm-usdhc", .data = (ulong)&usdhc_imx8qm_data,},
> { .compatible = "fsl,imx8mn-usdhc", .data = (ulong)&usdhc_imx8qm_data,},
>
More information about the U-Boot
mailing list