]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: exynos: Add eMMC and SD regulator supplies to Odroid XU3/XU4
authorMarkus Reichl <m.reichl@fivetechno.de>
Mon, 4 Apr 2016 09:55:13 +0000 (11:55 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 13 Apr 2016 09:14:30 +0000 (11:14 +0200)
Add vmmc and vqmmc supplies from MF circuit sheets for eMMC and SD on
odroid XU3 and XU4 to avoid warnings:

dwmmc_exynos 12200000.mmc: Looking up vmmc-supply property in node /mmc@12200000 failed

Also remove their always_on properties so the regulators could be
disabled when not used.

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi

index 1bd507bfa750155579259b14195e08dab8adbb00..0e71d4253205e43e480079736a9451a63b048701 100644 (file)
@@ -121,10 +121,9 @@ ldo1_reg: LDO1 {
                        };
 
                        ldo3_reg: LDO3 {
-                               regulator-name = "vdd_ldo3";
+                               regulator-name = "vddq_mmc0";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
-                               regulator-always-on;
                        };
 
                        ldo5_reg: LDO5 {
@@ -184,10 +183,9 @@ ldo12_reg: LDO12 {
                        };
 
                        ldo13_reg: LDO13 {
-                               regulator-name = "vdd_ldo13";
+                               regulator-name = "vddq_mmc2";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;
-                               regulator-always-on;
                        };
 
                        ldo15_reg: LDO15 {
@@ -211,11 +209,16 @@ ldo17_reg: LDO17 {
                                regulator-always-on;
                        };
 
+                       ldo18_reg: LDO18 {
+                               regulator-name = "vdd_emmc_1V8";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                       };
+
                        ldo19_reg: LDO19 {
                                regulator-name = "vdd_sd";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;
-                               regulator-always-on;
                        };
 
                        ldo24_reg: LDO24 {
@@ -347,6 +350,8 @@ &mmc_0 {
        cap-mmc-highspeed;
        mmc-hs200-1_8v;
        mmc-hs400-1_8v;
+       vmmc-supply = <&ldo18_reg>;
+       vqmmc-supply = <&ldo3_reg>;
 };
 
 &mmc_2 {
@@ -359,6 +364,8 @@ &mmc_2 {
        pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
        bus-width = <4>;
        cap-sd-highspeed;
+       vmmc-supply = <&ldo19_reg>;
+       vqmmc-supply = <&ldo13_reg>;
 };
 
 &pinctrl_0 {