devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: omap3-beagle: Fix USB host on beagle boards (for 3.13)
@ 2013-11-25 13:55 Roger Quadros
       [not found] ` <1385387745-7162-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
  2013-12-03  3:54 ` Laurent Pinchart
  0 siblings, 2 replies; 7+ messages in thread
From: Roger Quadros @ 2013-11-25 13:55 UTC (permalink / raw)
  To: tony, bcousson
  Cc: nm, devicetree, linux-usb, linux-kernel, balbi, linux-omap,
	linux-arm-kernel, Roger Quadros

Beagle (rev. C4) and Beagle-XM (all revs) need VAUX2 1.8V supply
for the USB PHY.

As the generic PHY driver can't handle more than one supply
at the moment, we configure this supply to be always on.
This will cause a very small power impact if the USB host subsystem
is not in use, about 76.86 micro-W + LDO power.

Older Beagle boards (prior to C4) don't have VAUX2 connected anywhere,
so there won't be any functional impact on those boards other than
some additional LDO power consumption.

Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 arch/arm/boot/dts/omap3-beagle-xm.dts | 8 ++++++++
 arch/arm/boot/dts/omap3-beagle.dts    | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts
index 31a632f..b39918e 100644
--- a/arch/arm/boot/dts/omap3-beagle-xm.dts
+++ b/arch/arm/boot/dts/omap3-beagle-xm.dts
@@ -215,3 +215,11 @@
 &usbhsehci {
 	phys = <0 &hsusb2_phy>;
 };
+
+&vaux2 {
+	regulator-name = "usb_1v8";
+	regulator-min-microvolt = <1800000>;
+	regulator-max-microvolt = <1800000>;
+	regulator-always-on;
+};
+
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
index fa532aa..9764556 100644
--- a/arch/arm/boot/dts/omap3-beagle.dts
+++ b/arch/arm/boot/dts/omap3-beagle.dts
@@ -178,3 +178,11 @@
 	mode = <3>;
 	power = <50>;
 };
+
+&vaux2 {
+	regulator-name = "vdd_ehci";
+	regulator-min-microvolt = <1800000>;
+	regulator-max-microvolt = <1800000>;
+	regulator-always-on;
+};
+
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-03 11:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 13:55 [PATCH] ARM: dts: omap3-beagle: Fix USB host on beagle boards (for 3.13) Roger Quadros
     [not found] ` <1385387745-7162-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2013-11-25 15:50   ` Nishanth Menon
     [not found]     ` <CAGo_u6ryFJvBwd=S9A-nJw+eoGguPj0jMOtgMiZ7mXXAbh4i+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-26  8:56       ` Roger Quadros
2013-11-26 22:27         ` Tony Lindgren
2013-12-03  3:54 ` Laurent Pinchart
2013-12-03  9:36   ` Roger Quadros
2013-12-03 11:10     ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).