Преглед на файлове

ARM: ux500: Configure regulator for I/O voltage for SD-card slot

To be able to enable SDR12|25 for SD-cards, we needed to fixup the
configuration in DT of the gpio regulator, which handles the signal
voltage level. Some configuration were missing and some were wrong.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Ulf Hansson преди 11 години
родител
ревизия
a1ab5e4c80
променени са 3 файла, в които са добавени 7 реда и са изтрити 6 реда
  1. 0 2
      arch/arm/boot/dts/ste-hrefprev60.dtsi
  2. 5 0
      arch/arm/boot/dts/ste-hrefv60plus.dtsi
  3. 2 4
      arch/arm/boot/dts/ste-snowball.dts

+ 0 - 2
arch/arm/boot/dts/ste-hrefprev60.dtsi

@@ -68,8 +68,6 @@
 		vmmci: regulator-gpio {
 			gpios = <&tc3589x_gpio 18 0x4>;
 			enable-gpio = <&tc3589x_gpio 17 0x4>;
-
-			status = "okay";
 		};
 
 		pinctrl {

+ 5 - 0
arch/arm/boot/dts/ste-hrefv60plus.dtsi

@@ -22,6 +22,11 @@
 			cd-gpios  = <&gpio2 31 0x4>; // 95
 		};
 
+		vmmci: regulator-gpio {
+			gpios = <&gpio0 5 0x4>;
+			enable-gpio = <&gpio5 9 0x4>;
+		};
+
 		pinctrl {
 			/*
 			 * Set this up using hogs, as time goes by and as seems fit, these

+ 2 - 4
arch/arm/boot/dts/ste-snowball.dts

@@ -146,10 +146,8 @@
 		};
 
 		vmmci: regulator-gpio {
-			gpios = <&gpio6 25 0x4>;
-			enable-gpio = <&gpio7 4 0x4>;
-
-			status = "okay";
+			gpios = <&gpio7 4 0x4>;
+			enable-gpio = <&gpio6 25 0x4>;
 		};
 
 		// External Micro SD slot