]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: rockchip: Use vmmc-supply from PMIC on rk3288-vyasa
authorJagan Teki <jagannadh.teki@gmail.com>
Mon, 16 Oct 2017 12:16:21 +0000 (17:46 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 17 Oct 2017 19:09:51 +0000 (21:09 +0200)
rk808, SWITCH_REG1 has configured for sdmmc regulator as vcc_sd,
so use the same by renaming vcc33_sd to vcc_sd(as per schematic)
and drop explicit regulator definition from root.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-vyasa.dts

index 7a0f94569ba9e292b61bc1e0a9de1f810cbf9a18..2231dd078a132dfa83b799216b511d2c5871f837 100644 (file)
                device_type = "memory";
        };
 
-       vcc_sd: sdmmc-regulator {
-               compatible = "regulator-fixed";
-               gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&sdmmc_pwr>;
-               regulator-name = "vcc_sd";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               startup-delay-us = <100000>;
-               vin-supply = <&vcc_io>;
-       };
-
        vcc_sys: vsys-regulator {
                compatible = "regulator-fixed";
                regulator-name = "vcc_sys";
                                };
                        };
 
-                       vcc33_sd: SWITCH_REG1 {
-                               regulator-name = "vcc33_sd";
+                       vcc_sd: SWITCH_REG1 {
+                               regulator-name = "vcc_sd";
                                regulator-min-microvolt = <3300000>;
                                regulator-max-microvolt = <3300000>;
                                regulator-always-on;
                        rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>;
                };
        };
-
-       sdmmc {
-               sdmmc_pwr: sdmmc-pwr {
-                       rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
-               };
-       };
 };