Skip to content

Commit

Permalink
Merge tag 'stericsson-fixes-v4.1' of git://git.kernel.org/pub/scm/lin…
Browse files Browse the repository at this point in the history
…ux/kernel/git/linusw/linux-stericsson into fixes

Merge "Ux500 fixes" from Linus Walleij:

This fixes an MMC/SD configuration issue present for some time
in the Ux500 DT but triggered by proper error handling in v4.1-rc1.

* tag 'stericsson-fixes-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
  ARM: ux500: Enable GPIO regulator for SD-card for snowball
  ARM: ux500: Enable GPIO regulator for SD-card for HREF boards
  ARM: ux500: Move GPIO regulator for SD-card into board DTSs
  • Loading branch information
Arnd Bergmann committed May 7, 2015
2 parents 1e5f9ed + 11133db commit bd1a6e7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 17 deletions.
17 changes: 0 additions & 17 deletions arch/arm/boot/dts/ste-dbx5x0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1017,23 +1017,6 @@
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";
};

mcde@a0350000 {
compatible = "stericsson,mcde";
reg = <0xa0350000 0x1000>, /* MCDE */
Expand Down
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/ste-href.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,21 @@
pinctrl-1 = <&i2c3_sleep_mode>;
};

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>;
};

// External Micro SD slot
sdi0_per1@80126000 {
arm,primecell-periphid = <0x10480180>;
Expand Down
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/ste-snowball.dts
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,21 @@
};

vmmci: regulator-gpio {
compatible = "regulator-gpio";

gpios = <&gpio7 4 0x4>;
enable-gpio = <&gpio6 25 0x4>;

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>;
};

// External Micro SD slot
Expand Down

0 comments on commit bd1a6e7

Please sign in to comment.