RE: USB OTG support on mx27pdk

2014-04-20 Thread Peter Chen
l Grzeschik; Alexander Shiyan; linux-arm- > > > ker...@lists.infradead.org; linux-usb@vger.kernel.org; Sascha Hauer; > > > chris.ru...@gtsys.com.hk; Guo Shawn-R65073 > > > Subject: Re: USB OTG support on mx27pdk > > > > > > On Sat, Apr 19, 2014 at 4:32 AM, Peter Chen &

Re: USB OTG support on mx27pdk

2014-04-19 Thread Alexander Shiyan
er...@lists.infradead.org; linux-usb@vger.kernel.org; Sascha Hauer; > > chris.ru...@gtsys.com.hk; Guo Shawn-R65073 > > Subject: Re: USB OTG support on mx27pdk > > > > On Sat, Apr 19, 2014 at 4:32 AM, Peter Chen > > wrote: > > > The below patch is intended to

RE: USB OTG support on mx27pdk

2014-04-19 Thread Peter Chen
is.ru...@gtsys.com.hk; Guo Shawn-R65073 > Subject: Re: USB OTG support on mx27pdk > > On Sat, Apr 19, 2014 at 4:32 AM, Peter Chen > wrote: > > The below patch is intended to fix above issues for all platforms, > > I have tested it at imx6 platform, if possible, have a test

Re: USB OTG support on mx27pdk

2014-04-19 Thread Fabio Estevam
On Sat, Apr 19, 2014 at 4:32 AM, Peter Chen wrote: > The below patch is intended to fix above issues for all platforms, > I have tested it at imx6 platform, if possible, have a test at imx25/imx27 > please. I don't see any patch below, but anyway I have managed to fix the issue on mx27 at dts lev

RE: USB OTG support on mx27pdk

2014-04-19 Thread Peter Chen
> > On Wed, Apr 16, 2014 at 09:53:34AM -0300, Fabio Estevam wrote: > > On Wed, Apr 16, 2014 at 8:58 AM, Alexander Shiyan > wrote: > > > > > I can tell immediately without further testing, > > > this will not work without the USB support in the bootoader because > > > we do not have DT support f

Re: USB OTG support on mx27pdk

2014-04-16 Thread Fabio Estevam
On Wed, Apr 16, 2014 at 12:03 PM, Michael Grzeschik wrote: > Yes, when this patch got reverted it will probably break usb support > on mx6 machines. We have seen different behaviour on several mxc/mxs > machines regarding the order of PORTSC and phy configuration. > > We will probably need to test

Re: USB OTG support on mx27pdk

2014-04-16 Thread Michael Grzeschik
Hi, On Wed, Apr 16, 2014 at 09:53:34AM -0300, Fabio Estevam wrote: > On Wed, Apr 16, 2014 at 8:58 AM, Alexander Shiyan wrote: > > > I can tell immediately without further testing, > > this will not work without the USB support in the bootoader because > > we do not have DT support for ULPI. > >

Re: USB OTG support on mx27pdk

2014-04-16 Thread Fabio Estevam
On Wed, Apr 16, 2014 at 8:58 AM, Alexander Shiyan wrote: > I can tell immediately without further testing, > this will not work without the USB support in the bootoader because > we do not have DT support for ULPI. The generic nop usb phy should work just fine. I have tried Uwe's suggestion fro

Re: USB OTG support on mx27pdk

2014-04-16 Thread Alexander Shiyan
Wed, 16 Apr 2014 08:32:55 -0300 от Fabio Estevam : > On Wed, Apr 16, 2014 at 2:55 AM, Alexander Shiyan wrote: > > > ci_hdrc ci_hdrc.0: EHCI Host Controller > > ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 > > ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 > > usb usb1: New USB

Re: USB OTG support on mx27pdk

2014-04-16 Thread Fabio Estevam
On Wed, Apr 16, 2014 at 2:55 AM, Alexander Shiyan wrote: > ci_hdrc ci_hdrc.0: EHCI Host Controller > ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 > ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 > usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 > usb usb1: New USB

Re: USB OTG support on mx27pdk

2014-04-15 Thread Alexander Shiyan
Wed, 16 Apr 2014 03:23:54 + от Peter Chen : > > Hi, > > I am trying to add USBOTG support to mx27pdk with the following dts patch: ... > I cced chris who has imx27 hardware. Loading OS arm Linux zImage '/dev/nor0.kernel' using internal devicetree commandline: console=ttymxc0,115200n8 earlyprin

RE: USB OTG support on mx27pdk

2014-04-15 Thread Peter Chen
> On Wed, Apr 16, 2014 at 12:23 AM, Peter Chen > wrote: > > Please check if below patch is existed > > > > commit 3b5d3e6845bfe68777d069886b0d1cd5f23b9d58 > > Author: Chris Ruehl > > Date: Fri Jan 10 13:51:29 2014 +0800 > > > > usb: chipidea: Fix Internal error: : 808 [#1] ARM related to

Re: USB OTG support on mx27pdk

2014-04-15 Thread Fabio Estevam
On Wed, Apr 16, 2014 at 12:23 AM, Peter Chen wrote: > Please check if below patch is existed > > commit 3b5d3e6845bfe68777d069886b0d1cd5f23b9d58 > Author: Chris Ruehl > Date: Fri Jan 10 13:51:29 2014 +0800 > > usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag > > * i

RE: USB OTG support on mx27pdk

2014-04-15 Thread Peter Chen
> Hi, > > I am trying to add USBOTG support to mx27pdk with the following dts patch: > > --- a/arch/arm/boot/dts/imx27-pdk.dts > +++ b/arch/arm/boot/dts/imx27-pdk.dts > @@ -78,6 +78,14 @@ > status = "okay"; > }; > > +&usbotg { > + pinctrl-names = "default"; > + pinctrl-0