diff mbox series

[1/1] arch: arm: dts: imx8mm-cl-iot-gate.dts: add no-mmc-hs400 to mmc2

Message ID 20241001160324.3894617-2-paulliu@debian.org
State New
Headers show
Series arch: arm: dts: imx8mm-cl-iot-gate.dts: add no-mmc-hs400 to mmc2 | expand

Commit Message

Ying-Chun Liu (PaulLiu) Oct. 1, 2024, 4:03 p.m. UTC
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>

The eMMC device on imx8mm-cl-iot-gate seems not support hs400.
When booting 6.1.0 kernel we got the following error.

    mmc2: mmc_select_hs400es failed, error -110
    mmc2: error -110 whilst initialising MMC card

Add no-mmc-hs400 to mmc2 node solves the problem.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
---
 arch/arm/dts/imx8mm-cl-iot-gate.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Fabio Estevam Oct. 2, 2024, 10:36 a.m. UTC | #1
Hi Paul,

On Tue, Oct 1, 2024 at 1:03 PM Ying-Chun Liu (PaulLiu)
<paulliu@debian.org> wrote:

> diff --git a/arch/arm/dts/imx8mm-cl-iot-gate.dts b/arch/arm/dts/imx8mm-cl-iot-gate.dts
> index 425701204a..aa6ca070bf 100644
> --- a/arch/arm/dts/imx8mm-cl-iot-gate.dts
> +++ b/arch/arm/dts/imx8mm-cl-iot-gate.dts
> @@ -350,6 +350,7 @@
>         pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
>         bus-width = <8>;
>         non-removable;
> +       no-mmc-hs400;

Looking at the usdhc2 node it passes:

no-1-8-v;
mmc-ddr-1_8v;

Would that work for usdhc3 as well?

I don't have access to the schematics to confirm.

Also, this board dts has been upstreamed in kernel 6.11
(arch/arm64/boot/dts/freescale/imx8mm-iot-gateway.dts).

Please consider moving to OF_UPSTREAM at some point.

Thanks
Fabio Estevam Oct. 5, 2024, 4:49 p.m. UTC | #2
On Tue, Oct 1, 2024 at 1:03 PM Ying-Chun Liu (PaulLiu)
<paulliu@debian.org> wrote:
>
> From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
>
> The eMMC device on imx8mm-cl-iot-gate seems not support hs400.
> When booting 6.1.0 kernel we got the following error.
>
>     mmc2: mmc_select_hs400es failed, error -110
>     mmc2: error -110 whilst initialising MMC card
>
> Add no-mmc-hs400 to mmc2 node solves the problem.

Applied to u-boot-imx/next, thanks.
diff mbox series

Patch

diff --git a/arch/arm/dts/imx8mm-cl-iot-gate.dts b/arch/arm/dts/imx8mm-cl-iot-gate.dts
index 425701204a..aa6ca070bf 100644
--- a/arch/arm/dts/imx8mm-cl-iot-gate.dts
+++ b/arch/arm/dts/imx8mm-cl-iot-gate.dts
@@ -350,6 +350,7 @@ 
 	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
 	bus-width = <8>;
 	non-removable;
+	no-mmc-hs400;
 	status = "okay";
 };