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 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. F

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 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 wrote: >> > On Wed, Jun 05, 2013 at 05:15:43PM +, Yuan-Hsin Chen wrote: >> &

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 wrote: > On Wed, Jun 05, 2013 at 05:15:43PM +0000, 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, regis

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 wrote: > Hi, > > On Wed, May 29, 2013 at 06:31:50PM +0000, Yuan-Hsin Chen wrote: >> Faraday fotg210 udc driver supports only Bulk transfer so far. >> fotg210 could be configured as an USB2.0 peripheral. >> >>

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

2013-05-17 Thread Yuan-Hsin Chen
On Fri, May 17, 2013 at 8:45 AM, Greg KH wrote: > On Fri, Apr 26, 2013 at 09:37:20AM +0000, Yuan-Hsin Chen wrote: >> FUSBH200-HCD is an USB2.0 hcd for Faraday FUSBH200. >> FUSBH200 is an ehci-like controller with some differences. >> First, register layout of FUSBH200 is i

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 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 wrote: >> > FUSBH200-HCD is an USB2.0 hcd

[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 --- 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 --- a/drivers/usb/gadget

[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 --- v2: split patch drivers/usb/gadget/fusb300_udc.c |2

[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 --- 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 drivers/usb/host/Kconfig

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

2013-03-20 Thread Yuan-Hsin Chen
Hi, On Wed, Mar 20, 2013 at 10:26 PM, Alan Stern wrote: > On Wed, 20 Mar 2013, Yuan-Hsin Chen wrote: > >> Hi, >> >> On Tue, Mar 19, 2013 at 11:48 PM, Alan Stern >> wrote: >> > On Tue, 19 Mar 2013, Yuan-Hsin Chen wrote: >> > >> >>

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 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 >

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 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 >>

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 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. &

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

2013-03-18 Thread Yuan-Hsin Chen
which refers to oxu210hp-hcd is a better solution? Thanks for your time. Yuan-Hsin On Thu, Feb 7, 2013 at 11:03 AM, Yuan-Hsin Chen wrote: > On Thu, Feb 7, 2013 at 12:38 AM, Felipe Balbi wrote: >> On Wed, Feb 06, 2013 at 07:24:01PM +0800, Yuan-Hsin Chen wrote: >>> From: Yuan

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 wrote: > Hi, > > On Fri, Feb 22, 2013 at 07:09:39AM +0000, Yuan-Hsin Chen wrote: >> From: Yuan-Hsin Chen >> >> Due to fusb300 controller modification, stall clear procedure should be >> modified consistantly. Th

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

2013-02-21 Thread Yuan-Hsin Chen
From: Yuan-Hsin Chen 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-Hsin Chen

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 wrote: > On Wed, Feb 06, 2013 at 07:24:01PM +0800, Yuan-Hsin Chen wrote: >> From: Yuan-Hsin Chen >> >> USB2.0 HCD driver for Faraday FUSBH200 >> >> Signed-off-by: Yuan-Hsin Chen > > just use ehci-platform.c a