]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: ux500: Move GPIO regulator for SD-card into board DTSs
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 20 Apr 2015 14:02:31 +0000 (16:02 +0200)
committerJiri Slaby <jslaby@suse.cz>
Sat, 16 May 2015 07:12:45 +0000 (09:12 +0200)
commit 53d2669844263fd5fdc70f0eb6a2eb8a21086d8e upstream.

The GPIO regulator for the SD-card isn't a ux500 SOC configuration, but
instead it's specific to the board. Move the definition of it, into the
board DTSs.

Fixes: c94a4ab7af3f ("ARM: ux500: Disable the MMCI gpio-regulator by default")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm/boot/dts/ste-dbx5x0.dtsi
arch/arm/boot/dts/ste-href.dtsi
arch/arm/boot/dts/ste-snowball.dts

index 1c1091eedadec293f619d5843f46506e31f14ffb..faa64cd3ab7311919ad032a8c2897796e8b84dab 100644 (file)
                        status = "disabled";
                 };
 
-               vmmci: regulator-gpio {
-                       compatible = "regulator-gpio";
-
-                       regulator-min-microvolt = <1800000>;
-                       regulator-max-microvolt = <2900000>;
-                       regulator-name = "mmci-reg";
-                       regulator-type = "voltage";
-
-                       startup-delay-us = <100>;
-                       enable-active-high;
-
-                       states = <1800000 0x1
-                                 2900000 0x0>;
-
-                       status = "disabled";
-               };
-
                cryp@a03cb000 {
                        compatible = "stericsson,ux500-cryp";
                        reg = <0xa03cb000 0x1000>;
index 370e03f5e7b2c8bcd416dd871b89c44e5e9ddfb8..b2d900157bb45e3d1170dcf87bafcbfbcf96641b 100644 (file)
                        };
                };
 
+               vmmci: regulator-gpio {
+                       compatible = "regulator-gpio";
+
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <2900000>;
+                       regulator-name = "mmci-reg";
+                       regulator-type = "voltage";
+
+                       startup-delay-us = <100>;
+                       enable-active-high;
+
+                       states = <1800000 0x1
+                                 2900000 0x0>;
+
+                       status = "disabled";
+               };
+
                // External Micro SD slot
                sdi0_per1@80126000 {
                        arm,primecell-periphid = <0x10480180>;
index f1fc128e249dd7d0dfbd337aeb40fc0dbdcc2c69..3d85253369c7801f9c509aa1536751a46063ca32 100644 (file)
                };
 
                vmmci: regulator-gpio {
+                       compatible = "regulator-gpio";
+
                        gpios = <&gpio6 25 0x4>;
                        enable-gpio = <&gpio7 4 0x4>;
 
-                       status = "okay";
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <2900000>;
+                       regulator-name = "mmci-reg";
+                       regulator-type = "voltage";
+
+                       startup-delay-us = <100>;
+                       enable-active-high;
+
+                       states = <1800000 0x1
+                                 2900000 0x0>;
+
+                       status = "disabled";
                };
 
                // External Micro SD slot