RE: [PATCH 3/5] mmc: sdhci-esdhc-imx: improve imxrt1050 data
From: Bough Chen
Date: Mon Oct 17 2022 - 23:06:19 EST
> -----Original Message-----
> From: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: 2022年10月18日 7:56
> To: devicetree@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; linux-clk@xxxxxxxxxxxxxxx;
> linux-mmc@xxxxxxxxxxxxxxx
> Cc: Stephen Boyd <sboyd@xxxxxxxxxx>; Bough Chen <haibo.chen@xxxxxxx>;
> Adrian Hunter <adrian.hunter@xxxxxxxxx>; Ulf Hansson
> <ulf.hansson@xxxxxxxxxx>; Giulio Benetti
> <giulio.benetti@xxxxxxxxxxxxxxxxxxxxxx>
> Subject: [PATCH 3/5] mmc: sdhci-esdhc-imx: improve imxrt1050 data
>
> i.MXRT1050 usdhc is not affected by ESDHC_FLAG_ERR004536 so let's remove it.
> It supports ESDHC_FLAG_STD_TUNING and ESDHC_FLAG_HAVE_CAP1 so let's
> add them.
>
> Signed-off-by: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Haibo Chen <haibo.chen@xxxxxxx>
> ---
> drivers/mmc/host/sdhci-esdhc-imx.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c
> b/drivers/mmc/host/sdhci-esdhc-imx.c
> index 55981b0f0b10..4bc0a2914a95 100644
> --- a/drivers/mmc/host/sdhci-esdhc-imx.c
> +++ b/drivers/mmc/host/sdhci-esdhc-imx.c
> @@ -306,7 +306,8 @@ static struct esdhc_soc_data usdhc_imx7ulp_data = {
> | ESDHC_FLAG_STATE_LOST_IN_LPMODE,
> };
> static struct esdhc_soc_data usdhc_imxrt1050_data = {
> - .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_HS200 |
> ESDHC_FLAG_ERR004536,
> + .flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING
> + | ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200,
> };
>
> static struct esdhc_soc_data usdhc_imx8qxp_data = {
> --
> 2.34.1