Skip to contentSkip to conversation

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

PATCH In review Ying-Chun Liu (PaulLiu) 2 participants 4 messages Oct 1, 2024 – Oct 5, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arch: arm: dts: imx8mm-cl-iot-gate.dts: add no-mmc-hs400 to mmc2

From: "Ying-Chun Liu (PaulLiu)" <[email protected]>

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.

Ying-Chun Liu (PaulLiu) (1):
arch: arm: dts: imx8mm-cl-iot-gate.dts: add no-mmc-hs400 to mmc2

 arch/arm/dts/imx8mm-cl-iot-gate.dts | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.45.2
#1 lore raw

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

From: "Ying-Chun Liu (PaulLiu)" <[email protected]>

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.

Cc Tom Rini <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc NXP i.MX U-Boot Team <[email protected]>
---
 arch/arm/dts/imx8mm-cl-iot-gate.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/imx8mm-cl-iot-gate.dts +1 -0
index 425701204a..aa6ca070bf 100644
@@ -350,6 +350,7 @@
 	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
 	bus-width = <8>;
 	non-removable;
+	no-mmc-hs400;
 	status = "okay";
 };
 
Signature · 1 line
2.45.2
reviewer
#2 lore raw

Hi Paul,

arch/arm/dts/imx8mm-cl-iot-gate.dts line 353

Quoted 9 lines · Ying-Chun Liu (PaulLiu)
arch/arm/dts/imx8mm-cl-iot-gate.dts +1 -0
index 425701204a..aa6ca070bf 100644
@@ -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

reviewer
#3 lore raw
In reply to Ying-Chun Liu (PaulLiu)
Quoted 10 lines · Ying-Chun Liu (PaulLiu)

From: "Ying-Chun Liu (PaulLiu)" <[email protected]>

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.