diff mbox

ARM: dts: am335x-boneblack: move fixed regulator to board level

Message ID 1379610764-758-1-git-send-email-nm@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Nishanth Menon Sept. 19, 2013, 5:12 p.m. UTC
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.

Signed-off-by: Nishanth Menon <nm@ti.com>
---

Based on: (benoit's for_3.13/dts branch)
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/UuCsBg2d
After: http://pastebin.com/149FWujf
notice how "vmmcsd_fixed: 3300 mV " does not appear in the log before the patch.

 arch/arm/boot/dts/am335x-bone-common.dtsi |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Comments

Felipe Balbi Sept. 20, 2013, 4:21 p.m. UTC | #1
On Thu, Sep 19, 2013 at 12:12:44PM -0500, Nishanth Menon wrote:
> 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.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>

Tested-by: Felipe Balbi <balbi@ti.com>

I boot tested this on my BBB.
Balaji T K Sept. 27, 2013, 2:37 p.m. UTC | #2
On Friday 20 September 2013 09:51 PM, Felipe Balbi wrote:
> On Thu, Sep 19, 2013 at 12:12:44PM -0500, Nishanth Menon wrote:
>> 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.
>>
>> Signed-off-by: Nishanth Menon <nm@ti.com>
>
> Tested-by: Felipe Balbi <balbi@ti.com>
>

Tested-by: Balaji T K <balajitk@ti.com>


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 56361ce..fe2742e 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -215,6 +215,13 @@ 
 			default-state = "off";
 		};
 	};
+
+	vmmcsd_fixed: fixedregulator@0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vmmcsd_fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
 };
 
 /include/ "tps65217.dtsi"
@@ -259,13 +266,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 {