diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2015-04-20 10:02:31 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-04-27 03:01:01 -0400 |
commit | 53d2669844263fd5fdc70f0eb6a2eb8a21086d8e (patch) | |
tree | 3acb15fb1bdad398b1967850eb7ca993eb4cbb90 | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) |
ARM: ux500: Move GPIO regulator for SD-card into board DTSs
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>
-rw-r--r-- | arch/arm/boot/dts/ste-dbx5x0.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/ste-href.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/ste-snowball.dts | 15 |
3 files changed, 32 insertions, 17 deletions
diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index bfd3f1c734b8..2201cd5da3bb 100644 --- a/arch/arm/boot/dts/ste-dbx5x0.dtsi +++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi | |||
@@ -1017,23 +1017,6 @@ | |||
1017 | status = "disabled"; | 1017 | status = "disabled"; |
1018 | }; | 1018 | }; |
1019 | 1019 | ||
1020 | vmmci: regulator-gpio { | ||
1021 | compatible = "regulator-gpio"; | ||
1022 | |||
1023 | regulator-min-microvolt = <1800000>; | ||
1024 | regulator-max-microvolt = <2900000>; | ||
1025 | regulator-name = "mmci-reg"; | ||
1026 | regulator-type = "voltage"; | ||
1027 | |||
1028 | startup-delay-us = <100>; | ||
1029 | enable-active-high; | ||
1030 | |||
1031 | states = <1800000 0x1 | ||
1032 | 2900000 0x0>; | ||
1033 | |||
1034 | status = "disabled"; | ||
1035 | }; | ||
1036 | |||
1037 | mcde@a0350000 { | 1020 | mcde@a0350000 { |
1038 | compatible = "stericsson,mcde"; | 1021 | compatible = "stericsson,mcde"; |
1039 | reg = <0xa0350000 0x1000>, /* MCDE */ | 1022 | reg = <0xa0350000 0x1000>, /* MCDE */ |
diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi index bf8f0eddc2c0..8cf499ad31a5 100644 --- a/arch/arm/boot/dts/ste-href.dtsi +++ b/arch/arm/boot/dts/ste-href.dtsi | |||
@@ -111,6 +111,23 @@ | |||
111 | pinctrl-1 = <&i2c3_sleep_mode>; | 111 | pinctrl-1 = <&i2c3_sleep_mode>; |
112 | }; | 112 | }; |
113 | 113 | ||
114 | vmmci: regulator-gpio { | ||
115 | compatible = "regulator-gpio"; | ||
116 | |||
117 | regulator-min-microvolt = <1800000>; | ||
118 | regulator-max-microvolt = <2900000>; | ||
119 | regulator-name = "mmci-reg"; | ||
120 | regulator-type = "voltage"; | ||
121 | |||
122 | startup-delay-us = <100>; | ||
123 | enable-active-high; | ||
124 | |||
125 | states = <1800000 0x1 | ||
126 | 2900000 0x0>; | ||
127 | |||
128 | status = "disabled"; | ||
129 | }; | ||
130 | |||
114 | // External Micro SD slot | 131 | // External Micro SD slot |
115 | sdi0_per1@80126000 { | 132 | sdi0_per1@80126000 { |
116 | arm,primecell-periphid = <0x10480180>; | 133 | arm,primecell-periphid = <0x10480180>; |
diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 206826a855c0..65a7f630af82 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts | |||
@@ -146,8 +146,23 @@ | |||
146 | }; | 146 | }; |
147 | 147 | ||
148 | vmmci: regulator-gpio { | 148 | vmmci: regulator-gpio { |
149 | compatible = "regulator-gpio"; | ||
150 | |||
149 | gpios = <&gpio7 4 0x4>; | 151 | gpios = <&gpio7 4 0x4>; |
150 | enable-gpio = <&gpio6 25 0x4>; | 152 | enable-gpio = <&gpio6 25 0x4>; |
153 | |||
154 | regulator-min-microvolt = <1800000>; | ||
155 | regulator-max-microvolt = <2900000>; | ||
156 | regulator-name = "mmci-reg"; | ||
157 | regulator-type = "voltage"; | ||
158 | |||
159 | startup-delay-us = <100>; | ||
160 | enable-active-high; | ||
161 | |||
162 | states = <1800000 0x1 | ||
163 | 2900000 0x0>; | ||
164 | |||
165 | status = "disabled"; | ||
151 | }; | 166 | }; |
152 | 167 | ||
153 | // External Micro SD slot | 168 | // External Micro SD slot |