summaryrefslogtreecommitdiffstats
path: root/patches/linux-3.12/0739-ARM-dts-am335x-boneblack-move-fixed-regulator-to-boa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/linux-3.12/0739-ARM-dts-am335x-boneblack-move-fixed-regulator-to-boa.patch')
-rw-r--r--patches/linux-3.12/0739-ARM-dts-am335x-boneblack-move-fixed-regulator-to-boa.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/patches/linux-3.12/0739-ARM-dts-am335x-boneblack-move-fixed-regulator-to-boa.patch b/patches/linux-3.12/0739-ARM-dts-am335x-boneblack-move-fixed-regulator-to-boa.patch
new file mode 100644
index 0000000..b8f1c4a
--- /dev/null
+++ b/patches/linux-3.12/0739-ARM-dts-am335x-boneblack-move-fixed-regulator-to-boa.patch
@@ -0,0 +1,54 @@
+From: Nishanth Menon <nm@ti.com>
+Date: Mon, 30 Sep 2013 09:40:16 -0500
+Subject: [PATCH] ARM: dts: am335x-boneblack: move fixed regulator to board
+ level
+
+3.3V fixed regulator does not belong to TPS node - as a result
+the fixed regulator is never probed and MMC is continually deferred
+due to lack of regulator.
+
+Move the fixed regulator to be at root of platform.
+
+Cc: Joel Fernandes <joelf@ti.com>
+Cc: Sekhar Nori <nsekhar@ti.com>
+Cc: Koen Kooi <koen@dominion.thruhere.net>
+Signed-off-by: Nishanth Menon <nm@ti.com>
+Tested-by: Felipe Balbi <balbi@ti.com>
+Tested-by: Balaji T K <balajitk@ti.com>
+Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
+---
+ arch/arm/boot/dts/am335x-bone-common.dtsi | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
+index ff5c3ca..b3e6fcf 100644
+--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
++++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
+@@ -55,6 +55,13 @@
+ default-state = "off";
+ };
+ };
++
++ vmmcsd_fixed: fixedregulator@0 {
++ compatible = "regulator-fixed";
++ regulator-name = "vmmcsd_fixed";
++ regulator-min-microvolt = <3300000>;
++ regulator-max-microvolt = <3300000>;
++ };
+ };
+
+ &am33xx_pinmux {
+@@ -257,13 +264,6 @@
+ regulator-always-on;
+ };
+ };
+-
+- vmmcsd_fixed: fixedregulator@0 {
+- compatible = "regulator-fixed";
+- regulator-name = "vmmcsd_fixed";
+- regulator-min-microvolt = <3300000>;
+- regulator-max-microvolt = <3300000>;
+- };
+ };
+
+ &cpsw_emac0 {