summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Geis <pgwipeout@gmail.com>2019-10-16 18:59:46 +0000
committerHeiko Stuebner <heiko.stuebner@theobroma-systems.com>2019-11-09 02:15:22 +0100
commit75aa567803b15e679432655badf95cd30b66b930 (patch)
tree64326660601c20dad95a37265ecfa1333021e62a
parentf9010b0edcd5a3112ab3d4fc79c296c5a1c5ee16 (diff)
downloadlinux-75aa567803b15e679432655badf95cd30b66b930.tar.bz2
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>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
index bb40c163b05d..8d553c92182a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -35,6 +35,7 @@
gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc0m1_gpio>;
+ regulator-boot-on;
regulator-name = "vcc_sd";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;