[PATCH V2] ARM: dts: am335x-boneblack: move fixed regulator to board level

From: Nishanth Menon
Date: Mon Sep 30 2013 - 10:40:50 EST


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@xxxxxx>
Cc: Sekhar Nori <nsekhar@xxxxxx>
Cc: Koen Kooi <koen@xxxxxxxxxxxxxxxxxxxxx>

Signed-off-by: Nishanth Menon <nm@xxxxxx>
Tested-by: Felipe Balbi <balbi@xxxxxx>
Tested-by: Balaji T K <balajitk@xxxxxx>
---
V2: no changes - just rebase (carry forward of tested-bys)
V1: https://patchwork.kernel.org/patch/2912711/

Based on: (benoit's for_3.13/dts branch
Commit 45646cda707f13fe4a462bf3148f5178f817ef58)
https://git.kernel.org/cgit/linux/kernel/git/bcousson/linux-omap-dt.git/log/?h=for_3.13/dts
+
https://patchwork.kernel.org/patch/2902711/

Test Log:
Before: http://pastebin.com/jAabNAcS
After: http://pastebin.com/pDZJKSvW
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 {
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/