Skip to contentSkip to conversation

arm64: dts: imx8mp-var-dart-sonata: Fix Sonata SD I/O supply

PATCH Applied Stefano Radaelli 2 participants 2 messages Sep 2 – Sep 11

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

PATCH 1/1 arm64: dts: imx8mp-var-dart-sonata: Fix Sonata SD I/O supply

From: Stefano Radaelli <[email protected]>

LDO5 powers the USDHC2 I/O rail on DART-MX8M-PLUS.
Without a regulator consumer, the kernel disables LDO5 during late init, which removes the SD card and causes filesystem I/O errors.

Reference LDO5 as the Sonata USDHC2 VQMMC supply, so the regulator remains enabled while the SD interface is active.

---
 arch/arm64/boot/dts/freescale/imx8mp-var-dart-sonata.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mp-var-dart-sonata.dts +1 -0
index 983d67a0c1de..7f78026e70ff 100644
@@ -511,6 +511,7 @@ &usdhc2 {
 	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
 	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
 	vmmc-supply = <&reg_usdhc2_vmmc>;
+	vqmmc-supply = <&ldo5>;
 	bus-width = <4>;
 	status = "okay";
 };
Signature · 1 line
2.47.3
#1 lore raw

From: Frank Li <[email protected]>

Quoted 8 lines · Stefano Radaelli

LDO5 powers the USDHC2 I/O rail on DART-MX8M-PLUS.
Without a regulator consumer, the kernel disables LDO5 during late init, which removes the SD card and causes filesystem I/O errors.

Reference LDO5 as the Sonata USDHC2 VQMMC supply, so the regulator remains enabled while the SD interface is active.

[...]

Applied to branch fix, thanks!

[1/1] arm64: dts: imx8mp-var-dart-sonata: Fix Sonata SD I/O supply

      commit: 7ba5290db6bf365e46fb70bf13dc2a47048165ea

Best regards,
--
Frank Li <[email protected]>