Re: [PATCH v2] usb: host: Faraday fotg210-hcd driver

2013-07-25 Thread Yuan-Hsin Chen
Hi, On Thu, Jul 25, 2013 at 7:10 AM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 19, 2013 at 07:53:04PM +, Yuan-Hsin Chen wrote: FOTG210 is an OTG controller which can be configured as an USB2.0 host. FOTG210 host is an ehci-like controller with some differences. First

Re: [PATCH] usb: gadget: fotg210-udc: Use module_platform_driver_probe macro

2013-06-21 Thread Yuan-Hsin Chen
Hi, On Thu, Jun 20, 2013 at 8:16 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Jun 20, 2013 at 01:53:13PM +, Yuan-Hsin Chen wrote: Because fotg210-udc is configured as a non-hotpluggable device, that makes sense to use module_platform_driver_probe() instead

Re: [PATCH] usb: host: Faraday fotg210-hcd driver

2013-06-17 Thread Yuan-Hsin Chen
Hi, On Tue, Jun 18, 2013 at 4:39 AM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 05, 2013 at 05:15:43PM +, Yuan-Hsin Chen wrote: FOTG210 is an OTG controller which can be configured as an USB2.0 host. FOTG210 host is an ehci-like controller with some differences. First, register

Re: [PATCH] usb: host: Faraday fotg210-hcd driver

2013-06-17 Thread Yuan-Hsin Chen
Hi, On Tue, Jun 18, 2013 at 11:07 AM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Tue, Jun 18, 2013 at 10:42:09AM +0800, Yuan-Hsin Chen wrote: Hi, On Tue, Jun 18, 2013 at 4:39 AM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 05, 2013 at 05:15:43PM +, Yuan-Hsin Chen

Re: [PATCH] usb: gadget: add Faraday fotg210_udc driver

2013-05-29 Thread Yuan-Hsin Chen
Hi, On Thu, May 30, 2013 at 7:55 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, May 29, 2013 at 06:31:50PM +, Yuan-Hsin Chen wrote: Faraday fotg210 udc driver supports only Bulk transfer so far. fotg210 could be configured as an USB2.0 peripheral. This driver is tested with mass

Re: [PATCH 2/2] usb: host: fusbh200-hcd: Staticize local symbols

2013-05-20 Thread Yuan-Hsin Chen
Hi, On Mon, May 20, 2013 at 1:51 PM, Sachin Kamat sachin.ka...@linaro.org wrote: Local symbols referenced only in this file are made static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Thank you. --- drivers/usb/host/fusbh200-hcd.c |6 +++--- 1 file changed, 3 insertions(+),

Re: [PATCH 2/2] usb: host: fusbh200-hcd: Staticize local symbols

2013-05-20 Thread Yuan-Hsin Chen
On Mon, May 20, 2013 at 1:51 PM, Sachin Kamat sachin.ka...@linaro.org wrote: Local symbols referenced only in this file are made static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Yuan-Hsin Chen yhc...@faraday-tech.com --- drivers/usb/host/fusbh200-hcd.c |6

Re: [PATCH v4] usb host: Faraday USB2.0 FUSBH200-HCD driver

2013-05-08 Thread Yuan-Hsin Chen
Hi, On Wed, May 8, 2013 at 10:40 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 8 May 2013, Yuan-Hsin Chen wrote: Hi, Are there any advice? Thanks. On Fri, Apr 26, 2013 at 5:37 PM, Yuan-Hsin Chen yuan...@gmail.com wrote: FUSBH200-HCD is an USB2.0 hcd for Faraday FUSBH200

[PATCH v2 1/2] usb: gadget: fusb300_udc: add FUSB300_EPSET0_STL_CLR for clearing EP0 stall

2013-04-02 Thread Yuan-Hsin Chen
The final version of fusb300 controller adds EPSET0_STL_CLR for clearing EP0 stall and also removes EPSET0_EPn_TX0BYTE. fusb300_udc driver is tested on FARADAY platform a369 with FUSB300 FPGA v1.8 Signed-off-by: Yuan-Hsin Chen yhc...@faraday-tech.com --- v2: split patch drivers/usb/gadget

[PATCH v2 2/2] usb: gadget: fusb300_udc: bug fix of not doing idma reset for each time

2013-04-02 Thread Yuan-Hsin Chen
v1.8 Signed-off-by: Yuan-Hsin Chen yhc...@faraday-tech.com --- v2: split patch drivers/usb/gadget/fusb300_udc.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c index c20cc58..c4dc906 100644

[PATCH v2] usb host: Faraday FUSBH200 HCD driver

2013-04-01 Thread Yuan-Hsin Chen
which means iTDs are used for both HS and FS ISO transfer. Signed-off-by: Yuan-Hsin Chen yhc...@faraday-tech.com --- Note that anonymous union and struct might not be supported in earlier version of gcc v2: use ehci-platform.c use anonymous union and struct add is_fusbh200 to struct ehci_hcd

Re: [PATCH] usb host: Faraday FUSBH200 HCD driver.

2013-03-21 Thread Yuan-Hsin Chen
Hi, On Wed, Mar 20, 2013 at 10:26 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 20 Mar 2013, Yuan-Hsin Chen wrote: Hi, On Tue, Mar 19, 2013 at 11:48 PM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 19 Mar 2013, Yuan-Hsin Chen wrote: What about the port_status

Re: [PATCH] usb host: Faraday FUSBH200 HCD driver.

2013-03-20 Thread Yuan-Hsin Chen
Hi, On Tue, Mar 19, 2013 at 11:48 PM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 19 Mar 2013, Yuan-Hsin Chen wrote: What about the port_status registers? They're not between command and async_next. If they aren't consistent with EHCI, it makes things a lot more complicated

Re: [PATCH] usb host: Faraday FUSBH200 HCD driver.

2013-03-19 Thread Yuan-Hsin Chen
Hi, On Mon, Mar 18, 2013 at 10:16 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 18 Mar 2013, Felipe Balbi wrote: On Mon, Mar 18, 2013 at 06:06:18PM +0800, Yuan-Hsin Chen wrote: Hi, I tried to modify fusbh200 hcd driver following ehci-platform.c. However, the register

Re: [PATCH] usb host: Faraday FUSBH200 HCD driver.

2013-03-19 Thread Yuan-Hsin Chen
On Tue, Mar 19, 2013 at 11:48 PM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 19 Mar 2013, Yuan-Hsin Chen wrote: What about the port_status registers? They're not between command and async_next. If they aren't consistent with EHCI, it makes things a lot more complicated

Re: [PATCH] usb host: Faraday FUSBH200 HCD driver.

2013-03-18 Thread Yuan-Hsin Chen
? Thanks for your time. Yuan-Hsin On Thu, Feb 7, 2013 at 11:03 AM, Yuan-Hsin Chen yuan...@gmail.com wrote: On Thu, Feb 7, 2013 at 12:38 AM, Felipe Balbi ba...@ti.com wrote: On Wed, Feb 06, 2013 at 07:24:01PM +0800, Yuan-Hsin Chen wrote: From: Yuan-Hsin Chen yhc...@faraday-tech.com USB2.0

Re: [PATCH] fusb300_udc: modify stall clear and idma reset procedure

2013-03-04 Thread Yuan-Hsin Chen
Hi, On Wed, Feb 27, 2013 at 1:59 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Fri, Feb 22, 2013 at 07:09:39AM +, Yuan-Hsin Chen wrote: From: Yuan-Hsin Chen yuan...@gmail.com Due to fusb300 controller modification, stall clear procedure should be modified consistantly. This patch also

[PATCH] fusb300_udc: modify stall clear and idma reset procedure

2013-02-21 Thread Yuan-Hsin Chen
From: Yuan-Hsin Chen yuan...@gmail.com Due to fusb300 controller modification, stall clear procedure should be modified consistantly. This patch also fixes software bugs: only enter IDMA_RESET when the condition matched and disable corresponding PRD interrupt in IDMA_RESET. Signed-off-by: Yuan

Re: [PATCH] usb host: Faraday FUSBH200 HCD driver.

2013-02-06 Thread Yuan-Hsin Chen
On Thu, Feb 7, 2013 at 12:38 AM, Felipe Balbi ba...@ti.com wrote: On Wed, Feb 06, 2013 at 07:24:01PM +0800, Yuan-Hsin Chen wrote: From: Yuan-Hsin Chen yhc...@faraday-tech.com USB2.0 HCD driver for Faraday FUSBH200 Signed-off-by: Yuan-Hsin Chen yhc...@faraday-tech.com just use ehci