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

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.
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(+)

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(+)
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"; };

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

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.
participants (2)
-
Fabio Estevam
-
Ying-Chun Liu (PaulLiu)