linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx51-babbage: Fix hang on USB probe
@ 2014-12-15 15:33 Fabio Estevam
  2014-12-16  4:27 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2014-12-15 15:33 UTC (permalink / raw)
  To: linux-arm-kernel

Currently the following hang is observed during USB probe:

[    1.243660] usbcore: registered new interface driver usb-storage
[    1.261619] ci_hdrc ci_hdrc.1: doesn't support gadget
[    1.266730] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.272058] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    1.290639] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.301162] hub 1-0:1.0: USB hub found
[    1.305248] hub 1-0:1.0: 1 port detected
(hangs here...)

Pass the 'regulator-always-on' to make sure that the USB PHY and USB hub are
properly powered.

Cc: <stable@vger.kernel.org> # 3.16
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx51-babbage.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts
index 56569ce..65d3d97 100644
--- a/arch/arm/boot/dts/imx51-babbage.dts
+++ b/arch/arm/boot/dts/imx51-babbage.dts
@@ -137,6 +137,7 @@
 			regulator-max-microvolt = <5000000>;
 			gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>;
 			enable-active-high;
+			regulator-always-on;
 		};
 
 		reg_usbotg_vbus: regulator at 1 {
@@ -149,6 +150,7 @@
 			regulator-max-microvolt = <5000000>;
 			gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
 			enable-active-high;
+			regulator-always-on;
 		};
 	};
 
-- 
1.9.1

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

end of thread, other threads:[~2014-12-16  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 15:33 [PATCH] ARM: dts: imx51-babbage: Fix hang on USB probe Fabio Estevam
2014-12-16  4:27 ` Shawn Guo

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).