rockchip: rk3399-nanopi-4: Allow MMC driver to control SD regulators
This change removes the "regulator-always-on" property from the "vcc3v0_sd" (vmmc-supply) and "vcc_sdio" (vqmmc-supply) regulators, which otherwise prevents the MMC driver from being able to power cycle the SD card as part of the initialization procedure. It also removes the "regulator-boot-on" from the "vcc_sdio" regulator, which could theoretically damage a SD card that is already initialized in a low voltage mode. Signed-off-by: Justin Klaassen <justin@tidylabs.net> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:

committed by
Kever Yang

parent
f8f865ec0b
commit
2abd7fff9e
@@ -19,8 +19,11 @@
|
||||
|
||||
&vcc3v0_sd {
|
||||
bootph-pre-ram;
|
||||
/delete-property/ regulator-always-on;
|
||||
};
|
||||
|
||||
&vcc_sdio {
|
||||
/delete-property/ regulator-always-on;
|
||||
/delete-property/ regulator-boot-on;
|
||||
regulator-init-microvolt = <3000000>;
|
||||
};
|
||||
|
Reference in New Issue
Block a user