All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: imx51-babbage: Fix hang on USB probe
Date: Tue, 16 Dec 2014 12:27:57 +0800	[thread overview]
Message-ID: <20141216042755.GA2411@dragon> (raw)
In-Reply-To: <1418657639-19589-1-git-send-email-fabio.estevam@freescale.com>

On Mon, Dec 15, 2014 at 01:33:59PM -0200, Fabio Estevam wrote:
> 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?

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

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

      reply	other threads:[~2014-12-16  4:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141216042755.GA2411@dragon \
    --to=shawn.guo@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.