Skip to content

Commit

Permalink
ARM: ux500: Configure regulator for I/O voltage for SD-card slot
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ulf Hansson authored and Linus Walleij committed Dec 13, 2013
1 parent a987a3a commit a1ab5e4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/ste-hrefprev60.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
vmmci: regulator-gpio {
gpios = <&tc3589x_gpio 18 0x4>;
enable-gpio = <&tc3589x_gpio 17 0x4>;

status = "okay";
};

pinctrl {
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/ste-hrefv60plus.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions arch/arm/boot/dts/ste-snowball.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1ab5e4

Please sign in to comment.