Skip to contentSkip to conversation

arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc

PATCH Applied Alex Bee 2 participants 2 messages Jun 19, 2021

Subsystems (2)
lore
Share & tools
lore

Alex Bee

author
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc

Re-add the regulator-always-on property for vcc_sdio which supplies sdmmc, since it gets disabled during reboot now and the bootrom expects it to be enabled when booting from SD card. This makes rebooting impossible in that case and requires a hard reset to boot again.

Fixes 04a0077fdb19 ("arm64: dts: rockchip: Remove always-on properties from regulator nodes on rk3399-roc-pc.")
---
 arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi +1 -0
index c172f5a803e7..da3021dc0ff3 100644
@@ -389,6 +389,7 @@ regulator-state-mem {
 
 			vcc_sdio: LDO_REG4 {
 				regulator-name = "vcc_sdio";
+				regulator-always-on;
 				regulator-boot-on;
 				regulator-min-microvolt = <1800000>;
 				regulator-max-microvolt = <3000000>;
Signature · 1 line
2.27.0
maintainer Applied
#1 lore raw
Quoted 4 lines · Alex Bee

Re-add the regulator-always-on property for vcc_sdio which supplies sdmmc, since it gets disabled during reboot now and the bootrom expects it to be enabled when booting from SD card. This makes rebooting impossible in that case and requires a hard reset to boot again.

Applied, thanks!

[1/1] arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc

      commit: eb607cd4957fb0ef97beb2a8293478be6a54240a

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>