ARM: dts: exynos: Define vqmmc for SD card and allow disabling regulators on Odroid...
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 4 May 2016 12:43:58 +0000 (14:43 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 30 May 2016 07:45:57 +0000 (09:45 +0200)
The SD-card vmmc-supply contained incorrectly two regulators. The second
one is ignored. Fix this by defining proper vmmc and vqmmc supplies.
Additionally these regulators do not have to be always on, so allow
disabling them to reduce energy consumption.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
arch/arm/boot/dts/exynos4412-odroid-common.dtsi

index ec7619a..fe483ba 100644 (file)
                                regulator-name = "VDDQ_MMC2_2.8V";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;
-                               regulator-always-on;
                                regulator-boot-on;
                        };
 
                                regulator-name = "LDO21_3.3V";
                                regulator-min-microvolt = <3300000>;
                                regulator-max-microvolt = <3300000>;
-                               regulator-always-on;
                                regulator-boot-on;
                        };
 
        bus-width = <4>;
        pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
        pinctrl-names = "default";
-       vmmc-supply = <&ldo4_reg &ldo21_reg>;
+       vmmc-supply = <&ldo21_reg>;
+       vqmmc-supply = <&ldo4_reg>;
        cd-gpios = <&gpk2 2 GPIO_ACTIVE_HIGH>;
        cd-inverted;
        status = "okay";