All of lore.kernel.org
 help / color / mirror / Atom feed
* Commit 529febe breaks usb on Freescale P1022
@ 2012-02-24  8:31 Eibach, Dirk
  2012-02-24 10:05 ` Felipe Balbi
  0 siblings, 1 reply; 7+ messages in thread
From: Eibach, Dirk @ 2012-02-24  8:31 UTC (permalink / raw)
  To: Shengzhou.Liu; +Cc: linux-kernel, gregkh, linux-usb, stern

Hello,

This commit introduces a check for the USB PHY clock.
Problem is that CTRL_PHY_CLK_VALID bit seems not to be present on all
Freescale ehci implementations, at least P1022 does not have it. So this
check always fails and the driver never gets loaded. 

Cheers
Dirk
--------------------------------------------------------------------------
Guntermann & Drunck GmbH Systementwicklung 
Dortmunder Str. 4a 
D-57234 Wilnsdorf - Germany 
Tel: +49 (0) 27 39 / 89 01 - 100  Fax: +49 (0) 27 39 / 89 01 - 120 
E-Mail: mailto:sales@gdsys.de Web: http://www.gdsys.de
--------------------------------------------------------------------------
Geschaeftsfuehrer: 
Udo Guntermann - Martin Drunck - Reiner Ruelmann
HRB 2884, Amtsgericht Siegen - WEEE-Reg.-Nr. DE30763240
USt.-Id.-Nr. DE 126575222 - Steuer-Nr. 342 / 5835 / 1041
--------------------------------------------------------------------------
DQS-zertifiziert nach ISO 9001:2000
--------------------------------------------------------------------------



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

* Re: Commit 529febe breaks usb on Freescale P1022
  2012-02-24  8:31 Commit 529febe breaks usb on Freescale P1022 Eibach, Dirk
@ 2012-02-24 10:05 ` Felipe Balbi
  2012-02-24 10:11   ` Eibach, Dirk
  0 siblings, 1 reply; 7+ messages in thread
From: Felipe Balbi @ 2012-02-24 10:05 UTC (permalink / raw)
  To: Eibach, Dirk; +Cc: Shengzhou.Liu, linux-kernel, gregkh, linux-usb, stern

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

On Fri, Feb 24, 2012 at 09:31:49AM +0100, Eibach, Dirk wrote:
> This commit introduces a check for the USB PHY clock.
> Problem is that CTRL_PHY_CLK_VALID bit seems not to be present on all
> Freescale ehci implementations, at least P1022 does not have it. So this
> check always fails and the driver never gets loaded. 

hmm, you would need a revision check on that function then.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Commit 529febe breaks usb on Freescale P1022
  2012-02-24 10:05 ` Felipe Balbi
@ 2012-02-24 10:11   ` Eibach, Dirk
  2012-02-24 10:14     ` Felipe Balbi
  0 siblings, 1 reply; 7+ messages in thread
From: Eibach, Dirk @ 2012-02-24 10:11 UTC (permalink / raw)
  To: balbi; +Cc: Shengzhou.Liu, linux-kernel, gregkh, linux-usb, stern

 

> > This commit introduces a check for the USB PHY clock.
> > Problem is that CTRL_PHY_CLK_VALID bit seems not to be 
> present on all 
> > Freescale ehci implementations, at least P1022 does not have it. So 
> > this check always fails and the driver never gets loaded.
> 
> hmm, you would need a revision check on that function then.

Since I have no idea which Freescale platforms provide this bit and
which platforms don't, I suggest withdrawing this commit and do some
investigation on Freescales side to do this properly.

Cheers
Dirk



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

* Re: Commit 529febe breaks usb on Freescale P1022
  2012-02-24 10:11   ` Eibach, Dirk
@ 2012-02-24 10:14     ` Felipe Balbi
  2012-02-24 10:27       ` Liu Shengzhou-B36685
  0 siblings, 1 reply; 7+ messages in thread
From: Felipe Balbi @ 2012-02-24 10:14 UTC (permalink / raw)
  To: Eibach, Dirk; +Cc: balbi, Shengzhou.Liu, linux-kernel, gregkh, linux-usb, stern

[-- Attachment #1: Type: text/plain, Size: 752 bytes --]

Hi,

On Fri, Feb 24, 2012 at 11:11:46AM +0100, Eibach, Dirk wrote:
>  
> 
> > > This commit introduces a check for the USB PHY clock.
> > > Problem is that CTRL_PHY_CLK_VALID bit seems not to be 
> > present on all 
> > > Freescale ehci implementations, at least P1022 does not have it. So 
> > > this check always fails and the driver never gets loaded.
> > 
> > hmm, you would need a revision check on that function then.
> 
> Since I have no idea which Freescale platforms provide this bit and
> which platforms don't, I suggest withdrawing this commit and do some
> investigation on Freescales side to do this properly.

Could be, but I would like to hear from Shengzhou first. Not sure what
Greg thinks though :-)

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* RE: Commit 529febe breaks usb on Freescale P1022
  2012-02-24 10:14     ` Felipe Balbi
@ 2012-02-24 10:27       ` Liu Shengzhou-B36685
  2012-02-24 14:45         ` Felipe Balbi
  0 siblings, 1 reply; 7+ messages in thread
From: Liu Shengzhou-B36685 @ 2012-02-24 10:27 UTC (permalink / raw)
  To: balbi, Eibach, Dirk; +Cc: linux-kernel, gregkh, linux-usb, stern


> -----Original Message-----
> From: Felipe Balbi [mailto:balbi@ti.com]
> Sent: Friday, February 24, 2012 6:15 PM
> To: Eibach, Dirk
> Cc: balbi@ti.com; Liu Shengzhou-B36685; linux-kernel@vger.kernel.org;
> gregkh@linuxfoundation.org; linux-usb@vger.kernel.org;
> stern@rowland.harvard.edu
> Subject: Re: Commit 529febe breaks usb on Freescale P1022
> 
> Hi,
> 
> On Fri, Feb 24, 2012 at 11:11:46AM +0100, Eibach, Dirk wrote:
> >
> >
> > > > This commit introduces a check for the USB PHY clock.
> > > > Problem is that CTRL_PHY_CLK_VALID bit seems not to be
> > > present on all
> > > > Freescale ehci implementations, at least P1022 does not have it.
> > > > So this check always fails and the driver never gets loaded.
> > >
> > > hmm, you would need a revision check on that function then.
> >
> > Since I have no idea which Freescale platforms provide this bit and
> > which platforms don't, I suggest withdrawing this commit and do some
> > investigation on Freescales side to do this properly.
> 
> Could be, but I would like to hear from Shengzhou first. Not sure what
> Greg thinks though :-)
> 
> --
> balbi

Hello,  

Just now I checked it on P1022, P1022 does not have this bit.
So far what I know as below: 
       - P1023/P3041/P5020 have this bit, and mentions it in RM.
       - P3060/4080/PSC913x do have this bit, but not mentioned in RM.
       - P1022 have no this bit, not mention it in RM.

I'm confirming this on more chips and will work out a new patch to fix it.

Regards,
Shengzhou


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

* Re: Commit 529febe breaks usb on Freescale P1022
  2012-02-24 10:27       ` Liu Shengzhou-B36685
@ 2012-02-24 14:45         ` Felipe Balbi
  2012-02-24 21:07           ` gregkh
  0 siblings, 1 reply; 7+ messages in thread
From: Felipe Balbi @ 2012-02-24 14:45 UTC (permalink / raw)
  To: Liu Shengzhou-B36685
  Cc: balbi, Eibach, Dirk, linux-kernel, gregkh, linux-usb, stern

[-- Attachment #1: Type: text/plain, Size: 1833 bytes --]

On Fri, Feb 24, 2012 at 10:27:36AM +0000, Liu Shengzhou-B36685 wrote:
> 
> > -----Original Message-----
> > From: Felipe Balbi [mailto:balbi@ti.com]
> > Sent: Friday, February 24, 2012 6:15 PM
> > To: Eibach, Dirk
> > Cc: balbi@ti.com; Liu Shengzhou-B36685; linux-kernel@vger.kernel.org;
> > gregkh@linuxfoundation.org; linux-usb@vger.kernel.org;
> > stern@rowland.harvard.edu
> > Subject: Re: Commit 529febe breaks usb on Freescale P1022
> > 
> > Hi,
> > 
> > On Fri, Feb 24, 2012 at 11:11:46AM +0100, Eibach, Dirk wrote:
> > >
> > >
> > > > > This commit introduces a check for the USB PHY clock.
> > > > > Problem is that CTRL_PHY_CLK_VALID bit seems not to be
> > > > present on all
> > > > > Freescale ehci implementations, at least P1022 does not have it.
> > > > > So this check always fails and the driver never gets loaded.
> > > >
> > > > hmm, you would need a revision check on that function then.
> > >
> > > Since I have no idea which Freescale platforms provide this bit and
> > > which platforms don't, I suggest withdrawing this commit and do some
> > > investigation on Freescales side to do this properly.
> > 
> > Could be, but I would like to hear from Shengzhou first. Not sure what
> > Greg thinks though :-)
> > 
> > --
> > balbi
> 
> Hello,  
> 
> Just now I checked it on P1022, P1022 does not have this bit.
> So far what I know as below: 
>        - P1023/P3041/P5020 have this bit, and mentions it in RM.
>        - P3060/4080/PSC913x do have this bit, but not mentioned in RM.
>        - P1022 have no this bit, not mention it in RM.
> 
> I'm confirming this on more chips and will work out a new patch to fix it.

Ok, Greg will have the final word whether the original commit should be
reverted or we wait for a fix from you.

Happy hacking

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Commit 529febe breaks usb on Freescale P1022
  2012-02-24 14:45         ` Felipe Balbi
@ 2012-02-24 21:07           ` gregkh
  0 siblings, 0 replies; 7+ messages in thread
From: gregkh @ 2012-02-24 21:07 UTC (permalink / raw)
  To: Felipe Balbi
  Cc: Liu Shengzhou-B36685, Eibach, Dirk, linux-kernel, linux-usb, stern

On Fri, Feb 24, 2012 at 04:45:50PM +0200, Felipe Balbi wrote:
> On Fri, Feb 24, 2012 at 10:27:36AM +0000, Liu Shengzhou-B36685 wrote:
> > 
> > > -----Original Message-----
> > > From: Felipe Balbi [mailto:balbi@ti.com]
> > > Sent: Friday, February 24, 2012 6:15 PM
> > > To: Eibach, Dirk
> > > Cc: balbi@ti.com; Liu Shengzhou-B36685; linux-kernel@vger.kernel.org;
> > > gregkh@linuxfoundation.org; linux-usb@vger.kernel.org;
> > > stern@rowland.harvard.edu
> > > Subject: Re: Commit 529febe breaks usb on Freescale P1022
> > > 
> > > Hi,
> > > 
> > > On Fri, Feb 24, 2012 at 11:11:46AM +0100, Eibach, Dirk wrote:
> > > >
> > > >
> > > > > > This commit introduces a check for the USB PHY clock.
> > > > > > Problem is that CTRL_PHY_CLK_VALID bit seems not to be
> > > > > present on all
> > > > > > Freescale ehci implementations, at least P1022 does not have it.
> > > > > > So this check always fails and the driver never gets loaded.
> > > > >
> > > > > hmm, you would need a revision check on that function then.
> > > >
> > > > Since I have no idea which Freescale platforms provide this bit and
> > > > which platforms don't, I suggest withdrawing this commit and do some
> > > > investigation on Freescales side to do this properly.
> > > 
> > > Could be, but I would like to hear from Shengzhou first. Not sure what
> > > Greg thinks though :-)
> > > 
> > > --
> > > balbi
> > 
> > Hello,  
> > 
> > Just now I checked it on P1022, P1022 does not have this bit.
> > So far what I know as below: 
> >        - P1023/P3041/P5020 have this bit, and mentions it in RM.
> >        - P3060/4080/PSC913x do have this bit, but not mentioned in RM.
> >        - P1022 have no this bit, not mention it in RM.
> > 
> > I'm confirming this on more chips and will work out a new patch to fix it.
> 
> Ok, Greg will have the final word whether the original commit should be
> reverted or we wait for a fix from you.

If I can get a fix that works soon, I'll take it, and not revert the
original...

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

end of thread, other threads:[~2012-02-24 21:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-24  8:31 Commit 529febe breaks usb on Freescale P1022 Eibach, Dirk
2012-02-24 10:05 ` Felipe Balbi
2012-02-24 10:11   ` Eibach, Dirk
2012-02-24 10:14     ` Felipe Balbi
2012-02-24 10:27       ` Liu Shengzhou-B36685
2012-02-24 14:45         ` Felipe Balbi
2012-02-24 21:07           ` gregkh

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.