Re: When USB PHY framework should be used?

2013-10-22 Thread Maxime Ripard
On Mon, Oct 21, 2013 at 01:19:46PM +0200, Arokux X wrote: > Dear Kishon, > > thank you for the answer, no problem it was late! Your understanding > is almost correct. > > > From whatever I could understand, you have a USB HOST controller (each HOST > > controller has an EHCI controller and a

Re: When USB PHY framework should be used?

2013-10-22 Thread Maxime Ripard
On Mon, Oct 21, 2013 at 01:19:46PM +0200, Arokux X wrote: Dear Kishon, thank you for the answer, no problem it was late! Your understanding is almost correct. From whatever I could understand, you have a USB HOST controller (each HOST controller has an EHCI controller and a companion

Re: When USB PHY framework should be used?

2013-10-21 Thread Kishon Vijay Abraham I
Hi, On Monday 21 October 2013 04:49 PM, Arokux X wrote: > Dear Kishon, > > thank you for the answer, no problem it was late! Your understanding > is almost correct. > >> From whatever I could understand, you have a USB HOST controller (each HOST >> controller has an EHCI controller and a

Re: When USB PHY framework should be used?

2013-10-21 Thread Arokux X
Dear Kishon, thank you for the answer, no problem it was late! Your understanding is almost correct. > From whatever I could understand, you have a USB HOST controller (each HOST > controller has an EHCI controller and a companion OHCI controller?). There are > separate clocks for each of EHCI

Re: When USB PHY framework should be used?

2013-10-21 Thread Kishon Vijay Abraham I
+Roman Hi, Sorry for the late reply.. On Monday 14 October 2013 11:47 PM, Arokux X wrote: > Dear Kishon, > > On Sat, Oct 12, 2013 at 12:07 PM, Kishon Vijay Abraham I > wrote: >> Hi, >> >> On Friday 11 October 2013 10:52 PM, Arokux X wrote: I think you should have a wrapper driver to

Re: When USB PHY framework should be used?

2013-10-21 Thread Kishon Vijay Abraham I
+Roman Hi, Sorry for the late reply.. On Monday 14 October 2013 11:47 PM, Arokux X wrote: Dear Kishon, On Sat, Oct 12, 2013 at 12:07 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Friday 11 October 2013 10:52 PM, Arokux X wrote: I think you should have a wrapper driver to

Re: When USB PHY framework should be used?

2013-10-21 Thread Arokux X
Dear Kishon, thank you for the answer, no problem it was late! Your understanding is almost correct. From whatever I could understand, you have a USB HOST controller (each HOST controller has an EHCI controller and a companion OHCI controller?). There are separate clocks for each of EHCI and

Re: When USB PHY framework should be used?

2013-10-21 Thread Kishon Vijay Abraham I
Hi, On Monday 21 October 2013 04:49 PM, Arokux X wrote: Dear Kishon, thank you for the answer, no problem it was late! Your understanding is almost correct. From whatever I could understand, you have a USB HOST controller (each HOST controller has an EHCI controller and a companion OHCI

Re: When USB PHY framework should be used?

2013-10-20 Thread Arokux X
Dear all, may I please draw your attention to this thread? Thank you, Arokux -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: When USB PHY framework should be used?

2013-10-20 Thread Arokux X
Dear all, may I please draw your attention to this thread? Thank you, Arokux -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: When USB PHY framework should be used?

2013-10-14 Thread Arokux X
Dear Kishon, On Sat, Oct 12, 2013 at 12:07 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 11 October 2013 10:52 PM, Arokux X wrote: >>> I think you should have a wrapper driver to EHCI/OHCI to handle this reset. >> >> Thank you Kishon and Peter for the quick replies. Is there any good >>

Re: When USB PHY framework should be used?

2013-10-14 Thread Arokux X
Dear Kishon, On Sat, Oct 12, 2013 at 12:07 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Friday 11 October 2013 10:52 PM, Arokux X wrote: I think you should have a wrapper driver to EHCI/OHCI to handle this reset. Thank you Kishon and Peter for the quick replies. Is there any good

Re: When USB PHY framework should be used?

2013-10-12 Thread Kishon Vijay Abraham I
Hi, On Friday 11 October 2013 10:52 PM, Arokux X wrote: >> I think you should have a wrapper driver to EHCI/OHCI to handle this reset. > > Thank you Kishon and Peter for the quick replies. Is there any good > example of such a wrapper driver in the kernel already? can you explain how your IP

Re: When USB PHY framework should be used?

2013-10-12 Thread Kishon Vijay Abraham I
Hi, On Friday 11 October 2013 10:52 PM, Arokux X wrote: I think you should have a wrapper driver to EHCI/OHCI to handle this reset. Thank you Kishon and Peter for the quick replies. Is there any good example of such a wrapper driver in the kernel already? can you explain how your IP

RE: When USB PHY framework should be used?

2013-10-11 Thread Chen Peter-B29397
> > > I think you should have a wrapper driver to EHCI/OHCI to handle this > reset. > > Thank you Kishon and Peter for the quick replies. Is there any good > example of such a wrapper driver in the kernel already? > chipidea, dwc3, etc. -- To unsubscribe from this list: send the line

Re: When USB PHY framework should be used?

2013-10-11 Thread Arokux X
> I think you should have a wrapper driver to EHCI/OHCI to handle this reset. Thank you Kishon and Peter for the quick replies. Is there any good example of such a wrapper driver in the kernel already? Thanks Arokux -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: When USB PHY framework should be used?

2013-10-11 Thread Kishon Vijay Abraham I
On Friday 11 October 2013 12:51 AM, Arokux X wrote: > Hi, > > recently I have been working on mainlining a simple bus glue driver > for the USB EHCI for the Allwinner family of the ARM SoCs aka sunxi. > The patches are almost ready and can be found at [1] and will be > submitted once completely

Re: When USB PHY framework should be used?

2013-10-11 Thread Arokux X
I think you should have a wrapper driver to EHCI/OHCI to handle this reset. Thank you Kishon and Peter for the quick replies. Is there any good example of such a wrapper driver in the kernel already? Thanks Arokux -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

RE: When USB PHY framework should be used?

2013-10-11 Thread Chen Peter-B29397
I think you should have a wrapper driver to EHCI/OHCI to handle this reset. Thank you Kishon and Peter for the quick replies. Is there any good example of such a wrapper driver in the kernel already? chipidea, dwc3, etc. -- To unsubscribe from this list: send the line unsubscribe

Re: When USB PHY framework should be used?

2013-10-11 Thread Kishon Vijay Abraham I
On Friday 11 October 2013 12:51 AM, Arokux X wrote: Hi, recently I have been working on mainlining a simple bus glue driver for the USB EHCI for the Allwinner family of the ARM SoCs aka sunxi. The patches are almost ready and can be found at [1] and will be submitted once completely ready.

Re: When USB PHY framework should be used?

2013-10-10 Thread Peter Chen
On Thu, Oct 10, 2013 at 09:21:36PM +0200, Arokux X wrote: > Hi, > > recently I have been working on mainlining a simple bus glue driver > for the USB EHCI for the Allwinner family of the ARM SoCs aka sunxi. > The patches are almost ready and can be found at [1] and will be > submitted once

When USB PHY framework should be used?

2013-10-10 Thread Arokux X
Hi, recently I have been working on mainlining a simple bus glue driver for the USB EHCI for the Allwinner family of the ARM SoCs aka sunxi. The patches are almost ready and can be found at [1] and will be submitted once completely ready. The most interesting patch is [2] which is a driver

When USB PHY framework should be used?

2013-10-10 Thread Arokux X
Hi, recently I have been working on mainlining a simple bus glue driver for the USB EHCI for the Allwinner family of the ARM SoCs aka sunxi. The patches are almost ready and can be found at [1] and will be submitted once completely ready. The most interesting patch is [2] which is a driver

Re: When USB PHY framework should be used?

2013-10-10 Thread Peter Chen
On Thu, Oct 10, 2013 at 09:21:36PM +0200, Arokux X wrote: Hi, recently I have been working on mainlining a simple bus glue driver for the USB EHCI for the Allwinner family of the ARM SoCs aka sunxi. The patches are almost ready and can be found at [1] and will be submitted once completely