ARM: dts: imx51-babbage: Fix hang on USB probe
Subsystems (2)
PATCH 1/1 ARM: dts: imx51-babbage: Fix hang on USB probe
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 <[email protected]> # 3.16
Signed-off-by Fabio Estevam <[email protected]>
--- arch/arm/boot/dts/imx51-babbage.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx51-babbage.dts +2 -0
@@ -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; }; };
Signature · 1 line
1.9.1
PATCH 1/1 ARM: dts: imx51-babbage: Fix hang on USB probe
Quoted 10 lines · Fabio Estevam
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...)
I suppose the patch fixes a regression. If so, can we find out which commit introduced the regression?
Quoted 3 lines
Pass the 'regulator-always-on' to make sure that the USB PHY and USB hub are properly powered.
Rather than having the regulator always on, shouldn't the user of the regulator enables it?
Shawn
Quoted 30 lines
Cc <[email protected]> # 3.16Signed-off-by Fabio Estevam <[email protected]>--- arch/arm/boot/dts/imx51-babbage.dts | 2 ++ 1 file changed, 2 insertions(+)arch/arm/boot/dts/imx51-babbage.dts +2
-0@@ -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; }; };Signature · 1 line
1.9.1