aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-10-07 03:30:46 -0400
committerLinus Walleij <linus.walleij@linaro.org>2017-01-31 16:10:15 -0500
commitadef953bbc868b75ebe57eef10b396202c47639b (patch)
treefd2fa0cf542afe9040169e53344f7795487f7e57
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
ARM: dts: push MMC/SD to board and add comments
This moves the enable-active-high setting from the SoC to the board for the VMMCQ regulators. It should at least be in the vicinity of the GPIO line it is defined for. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/boot/dts/ste-href.dtsi2
-rw-r--r--arch/arm/boot/dts/ste-hrefprev60.dtsi1
-rw-r--r--arch/arm/boot/dts/ste-hrefv60plus.dtsi1
-rw-r--r--arch/arm/boot/dts/ste-snowball.dts6
4 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi
index 48dc38482633..1b59943ab6ec 100644
--- a/arch/arm/boot/dts/ste-href.dtsi
+++ b/arch/arm/boot/dts/ste-href.dtsi
@@ -111,6 +111,7 @@
111 pinctrl-1 = <&i2c3_sleep_mode>; 111 pinctrl-1 = <&i2c3_sleep_mode>;
112 }; 112 };
113 113
114 /* ST6G3244ME level translator for 1.8/2.9 V */
114 vmmci: regulator-gpio { 115 vmmci: regulator-gpio {
115 compatible = "regulator-gpio"; 116 compatible = "regulator-gpio";
116 117
@@ -120,7 +121,6 @@
120 regulator-type = "voltage"; 121 regulator-type = "voltage";
121 122
122 startup-delay-us = <100>; 123 startup-delay-us = <100>;
123 enable-active-high;
124 124
125 states = <1800000 0x1 125 states = <1800000 0x1
126 2900000 0x0>; 126 2900000 0x0>;
diff --git a/arch/arm/boot/dts/ste-hrefprev60.dtsi b/arch/arm/boot/dts/ste-hrefprev60.dtsi
index ece222d51717..5882a2606ac3 100644
--- a/arch/arm/boot/dts/ste-hrefprev60.dtsi
+++ b/arch/arm/boot/dts/ste-hrefprev60.dtsi
@@ -74,6 +74,7 @@
74 vmmci: regulator-gpio { 74 vmmci: regulator-gpio {
75 gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>; 75 gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>;
76 enable-gpio = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>; 76 enable-gpio = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>;
77 enable-active-high;
77 }; 78 };
78 79
79 pinctrl { 80 pinctrl {
diff --git a/arch/arm/boot/dts/ste-hrefv60plus.dtsi b/arch/arm/boot/dts/ste-hrefv60plus.dtsi
index 7187676836be..bf259bbd1d0a 100644
--- a/arch/arm/boot/dts/ste-hrefv60plus.dtsi
+++ b/arch/arm/boot/dts/ste-hrefv60plus.dtsi
@@ -146,6 +146,7 @@
146 vmmci: regulator-gpio { 146 vmmci: regulator-gpio {
147 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; 147 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
148 enable-gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>; 148 enable-gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>;
149 enable-active-high;
149 }; 150 };
150 151
151 pinctrl { 152 pinctrl {
diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts
index 386eee6de232..7900e5d6aa05 100644
--- a/arch/arm/boot/dts/ste-snowball.dts
+++ b/arch/arm/boot/dts/ste-snowball.dts
@@ -216,11 +216,15 @@
216 }; 216 };
217 }; 217 };
218 218
219 /* ST6G3244ME level translator for 1.8/2.9 V */
219 vmmci: regulator-gpio { 220 vmmci: regulator-gpio {
220 compatible = "regulator-gpio"; 221 compatible = "regulator-gpio";
221 222
223 /* GPIO228 SD_SEL */
222 gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>; 224 gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
225 /* GPIO217 MMC_EN */
223 enable-gpio = <&gpio6 25 GPIO_ACTIVE_HIGH>; 226 enable-gpio = <&gpio6 25 GPIO_ACTIVE_HIGH>;
227 enable-active-high;
224 228
225 regulator-min-microvolt = <1800000>; 229 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <2900000>; 230 regulator-max-microvolt = <2900000>;
@@ -228,7 +232,6 @@
228 regulator-type = "voltage"; 232 regulator-type = "voltage";
229 233
230 startup-delay-us = <100>; 234 startup-delay-us = <100>;
231 enable-active-high;
232 235
233 states = <1800000 0x1 236 states = <1800000 0x1
234 2900000 0x0>; 237 2900000 0x0>;
@@ -546,6 +549,7 @@
546 sdi0_default_mode: sdi0_default { 549 sdi0_default_mode: sdi0_default {
547 snowball_mux { 550 snowball_mux {
548 function = "mc0"; 551 function = "mc0";
552 /* Add the DAT31 pin even if it is not really used */
549 groups = "mc0dat31dir_a_1"; 553 groups = "mc0dat31dir_a_1";
550 }; 554 };
551 snowball_cfg1 { 555 snowball_cfg1 {