RE: USB OTG support on mx27pdk

2014-04-20 Thread Peter Chen
...@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 peter.c...@freescale.com wrote: The below patch is intended to fix above issues for all platforms

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 shc_w...@mail.ru 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

Re: USB OTG support on mx27pdk

2014-04-19 Thread Fabio Estevam
On Sat, Apr 19, 2014 at 4:32 AM, Peter Chen peter.c...@freescale.com 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

RE: USB OTG support on mx27pdk

2014-04-19 Thread Peter Chen
Shawn-R65073 Subject: Re: USB OTG support on mx27pdk On Sat, Apr 19, 2014 at 4:32 AM, Peter Chen peter.c...@freescale.com 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

Re: USB OTG support on mx27pdk

2014-04-19 Thread Alexander Shiyan
; 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 peter.c...@freescale.com wrote: The below patch is intended to fix above issues for all platforms, I have tested

Re: USB OTG support on mx27pdk

2014-04-16 Thread Fabio Estevam
On Wed, Apr 16, 2014 at 2:55 AM, Alexander Shiyan shc_w...@mail.ru 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

Re: USB OTG support on mx27pdk

2014-04-16 Thread Alexander Shiyan
Wed, 16 Apr 2014 08:32:55 -0300 от Fabio Estevam feste...@gmail.com: On Wed, Apr 16, 2014 at 2:55 AM, Alexander Shiyan shc_w...@mail.ru 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

Re: USB OTG support on mx27pdk

2014-04-16 Thread Fabio Estevam
On Wed, Apr 16, 2014 at 8:58 AM, Alexander Shiyan shc_w...@mail.ru 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

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 shc_w...@mail.ru 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

Re: USB OTG support on mx27pdk

2014-04-16 Thread Fabio Estevam
On Wed, Apr 16, 2014 at 12:03 PM, Michael Grzeschik m...@pengutronix.de 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

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 =

Re: USB OTG support on mx27pdk

2014-04-15 Thread Fabio Estevam
On Wed, Apr 16, 2014 at 12:23 AM, Peter Chen peter.c...@freescale.com wrote: Please check if below patch is existed commit 3b5d3e6845bfe68777d069886b0d1cd5f23b9d58 Author: Chris Ruehl chris.ru...@gtsys.com.hk Date: Fri Jan 10 13:51:29 2014 +0800 usb: chipidea: Fix Internal error: :

RE: USB OTG support on mx27pdk

2014-04-15 Thread Peter Chen
On Wed, Apr 16, 2014 at 12:23 AM, Peter Chen peter.c...@freescale.com wrote: Please check if below patch is existed commit 3b5d3e6845bfe68777d069886b0d1cd5f23b9d58 Author: Chris Ruehl chris.ru...@gtsys.com.hk Date: Fri Jan 10 13:51:29 2014 +0800 usb: chipidea: Fix Internal

Re: USB OTG support on mx27pdk

2014-04-15 Thread Alexander Shiyan
Wed, 16 Apr 2014 03:23:54 + от Peter Chen peter.c...@freescale.com: 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: