Re: mxs-phy on i.MX233 not enumerating

2012-08-14 Thread Fabio Estevam
On 8/14/12, Chen Peter-B29397 wrote: > HW_USBPHY_CTRL.ENHOSTDISCONDETECT should be set after bus reset is > finished. I agree. How do we guarantee that ENHOSTDISCONDETECT is set after bus reset? Thanks, Fabio Estevam -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in th

Re: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Richard Zhao
On Tue, Aug 14, 2012 at 11:11:53AM +0800, Chen Peter-B29397 wrote: > > > > > > > > It is the same with i.mx28. > > If they're same, imx23 should be ok. The mxs_phy driver pass test > > on mx28. > > > I think Richard's patch should not > > > violate point 2. Richard, can you confirm it? > > You me

RE: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Chen Peter-B29397
> > > > > It is the same with i.mx28. > If they're same, imx23 should be ok. The mxs_phy driver pass test > on mx28. > > I think Richard's patch should not > > violate point 2. Richard, can you confirm it? > You mean I should not set the bit in mxs_phy_on_connect? > or mxs_phy_on_connect is calle

Re: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Richard Zhao
On Tue, Aug 14, 2012 at 10:40:21AM +0800, Chen Peter-B29397 wrote: > > > > > > According to IC guys, the logic of handling HOSTDISCONDETECT is the > > same > > > between i.mx28 and i.mx23. > > > > As pointed out by Sean, on mx23 reference manual we have the following > > text describing HOSTDIS

RE: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Chen Peter-B29397
> > > According to IC guys, the logic of handling HOSTDISCONDETECT is the > same > > between i.mx28 and i.mx23. > > As pointed out by Sean, on mx23 reference manual we have the following > text describing HOSTDISCONDETECT: > > "Due to a on chip issue (Errata #2791), software must > pay attenti

RE: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Chen Peter-B29397
-B20223; Shawn Guo; Marek Vasut; Li Frank-B20596 > Subject: Re: mxs-phy on i.MX233 not enumerating > > Peter, > > On 8/13/12, Chen Peter-B29397 wrote: > > > According to IC guys, the logic of handling HOSTDISCONDETECT is the > same > > between i.mx28 and i.m

Re: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Fabio Estevam
Peter, On 8/13/12, Chen Peter-B29397 wrote: > According to IC guys, the logic of handling HOSTDISCONDETECT is the same > between i.mx28 and i.mx23. As pointed out by Sean, on mx23 reference manual we have the following text describing HOSTDISCONDETECT: "Due to a on chip issue (Errata #2791), s

Re: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Marek Vasut
Dear Chen Peter-B29397, > > On 8/13/12, Felipe Balbi wrote: > > > Will there be another version for this or is this final ? Won't this > > > cause any regressions to other boards ? > > > > The proposed patch is not meant to be a final one. > > > > We still need to figure out the proper way to h

RE: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Chen Peter-B29397
> On 8/13/12, Felipe Balbi wrote: > > > Will there be another version for this or is this final ? Won't this > > cause any regressions to other boards ? > > The proposed patch is not meant to be a final one. > > We still need to figure out the proper way to handle HOSTDISCONDETECT > for all i

Re: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Fabio Estevam
On 8/13/12, Felipe Balbi wrote: > Will there be another version for this or is this final ? Won't this > cause any regressions to other boards ? The proposed patch is not meant to be a final one. We still need to figure out the proper way to handle HOSTDISCONDETECT for all i.mx SoCs, including

Re: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Felipe Balbi
Hi, On Mon, Aug 13, 2012 at 03:04:56PM -0300, Fabio Estevam wrote: > On 8/13/12, Sean Cross wrote: > > We're trying to get USB host mode working on a Freescale i.MX233. I'm > > using > > a chumby hacker board, but there are several people trying on an OlinuXino > > board as well. We're running

Re: mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Fabio Estevam
On 8/13/12, Sean Cross wrote: > We're trying to get USB host mode working on a Freescale i.MX233. I'm > using > a chumby hacker board, but there are several people trying on an OlinuXino > board as well. We're running into a problem where every time the root hub > is detected, it's disconnected.

mxs-phy on i.MX233 not enumerating

2012-08-13 Thread Sean Cross
We're trying to get USB host mode working on a Freescale i.MX233. I'm using a chumby hacker board, but there are several people trying on an OlinuXino board as well. We're running into a problem where every time the root hub is detected, it's disconnected. This results in kernel messages such as