mirror of
https://github.com/torvalds/linux
synced 2024-10-18 01:08:35 +00:00
arm64: dts: rockchip: fix sdmmc detection on boot on rk3328-roc-cc
With working GPIO, during init the GPIO state s reset. This causes the sdmmc regulator to shut down, preventing detection. Removing and replacing the card will allow it to be detected, but that should not be necessary. Fix this by setting the regulator on at boot. Signed-off-by: Peter Geis <pgwipeout@gmail.com> Link: https://lore.kernel.org/r/20191016185945.1962-1-pgwipeout@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
f9010b0edc
commit
75aa567803
|
@ -35,6 +35,7 @@ vcc_sd: sdmmc-regulator {
|
||||||
gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
|
gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&sdmmc0m1_gpio>;
|
pinctrl-0 = <&sdmmc0m1_gpio>;
|
||||||
|
regulator-boot-on;
|
||||||
regulator-name = "vcc_sd";
|
regulator-name = "vcc_sd";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
|
|
Loading…
Reference in a new issue