[PATCH v3 09/12] EXAMPLE CODE: usb: port: Parse pwrseq phandle from Device Tree
Stephen Boyd
stephen.boyd at linaro.org
Thu Jun 2 16:59:55 PDT 2016
Quoting Peter Chen (2016-06-01 18:24:19)
> On Wed, Jun 01, 2016 at 11:16:34AM -0700, Stephen Boyd wrote:
> > >
> > > No, you may need to do reset before enumeration, the general purpose of
> > > reset is eliminate unstable hardware state, and let the controller find
> > > the device.
> > >
> > > Try to do it at bootloader to see if it works for you.
> > >
> >
> > Sorry the bootloader doesn't do this so that doesn't work for me.
>
> I mean try to see if the HUB can work if you reset it at bootloader.
> If it works, it means you need to do reset before enumeration, and you
> don't need to do anything after enumeration.
>
Ah ok. Yes, I need to deassert the reset before enumeration. Right now I
have a driver for the 4604 hub controller that deasserts a reset gpio
and sends an i2c command to put the controller into "hub" mode. If I do
this before the usb controller driver probes then everything works. If I
do it after the controller probes it doesn't.
More information about the linux-arm-kernel
mailing list