Re: [PATCH] usb: chipidea: udc: avoid gadget driver insertion in host mode

2014-07-06 Thread Peter Chen
On Fri, Jul 04, 2014 at 05:40:59PM +0500, Abbas Raza wrote: > From: Abbas Raza > > When gadget driver is inserted and OTG is in host mode, interrupts > occur which are not handled by chipidea driver causing following > problem. To avoid this problem, don't allow insertion of gadget > driver in ho

[PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-06 Thread Abbas Raza
From: Abbas Raza There are 2 methods for ZLP (zero-length packet) generation: 1) In software 2) Automatic generation by device controller 1) is implemented in UDC driver and it attaches ZLP to IN packet if descriptor->size < wLength 2) can be enabled/disabled by setting ZLT bit in the QH Whe

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-06 Thread Michael Grzeschik
Hi, On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: > From: Abbas Raza > > There are 2 methods for ZLP (zero-length packet) generation: > 1) In software > 2) Automatic generation by device controller > > 1) is implemented in UDC driver and it attaches ZLP to IN packet if >descri

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-06 Thread Greg KH
On Sun, Jul 06, 2014 at 07:52:41PM +0200, Michael Grzeschik wrote: > Hi, > > On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: > > From: Abbas Raza > > > > There are 2 methods for ZLP (zero-length packet) generation: > > 1) In software > > 2) Automatic generation by device controller >

[PATCH v3] Register NOP tranciever driver in JZ4740 musb glue layer

2014-07-06 Thread Apelete Seketeli
Hello, The name of the NOP transceiver driver was changed during v3.16 release cycle from usb_phy_gen_xceiv to usb_phy_generic. The patch that comes as a follow up of this message registers the NOP transceiver driver before calling usb_get_phy() to avoid issues related to accessing its data struc

[PATCH v3] usb: musb: register nop transceiver driver for jz4740

2014-07-06 Thread Apelete Seketeli
Following the name change of the NOP transceiver driver in commit 4525bee (usb: phy: rename usb_nop_xceiv to usb_phy_generic), the transceiver driver was no longer operable under its old name. Register the transceiver driver before calling usb_get_phy() to make sure we are noticed by an error mess

Re: [PATCH] usb: chipidea: udc: avoid gadget driver insertion in host mode

2014-07-06 Thread Abbas Raza
On 07/06/2014 03:38 PM, Peter Chen wrote: On Fri, Jul 04, 2014 at 05:40:59PM +0500, Abbas Raza wrote: From: Abbas Raza When gadget driver is inserted and OTG is in host mode, interrupts occur which are not handled by chipidea driver causing following problem. To avoid this problem, don't allow

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-06 Thread Abbas Raza
On 07/06/2014 11:01 PM, Greg KH wrote: On Sun, Jul 06, 2014 at 07:52:41PM +0200, Michael Grzeschik wrote: Hi, On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: From: Abbas Raza There are 2 methods for ZLP (zero-length packet) generation: 1) In software 2) Automatic generation by de

Re: [PATCH] drivers: phy: exynos-usb2: add support for Exynos 3250

2014-07-06 Thread Jaewon Kim
Hi, Marek 2014년 07월 04일 21:13, Marek Szyprowski 쓴 글: > This patch adds support for Exynos3250 SoC to Exynos2USB PHY driver. > Although Exynos3250 has only one device phy interface, the register > layout and all operations that are required to get it enabled are almost > same as on Exynos4x12. The

Re: [PATCH v3] usb: hcd: add generic PHY support

2014-07-06 Thread Vivek Gautam
Hi, On Sat, Jul 5, 2014 at 4:56 AM, Sergei Shtylyov wrote: > Hello. > > > On 06/25/2014 02:32 PM, Vivek Gautam wrote: > >>> From Sergei Shtylyov > > >>> Add the generic PHY support, analogous to the USB PHY support. Intended >>> it to be >>> used with the PCI EHCI/OHCI drivers and the xHCI pla

Re: [PATCH v3 1/2] usb: doc: udc-xilinx: Add devicetree bindings

2014-07-06 Thread sundeep subbaraya
Hi, On Fri, Jul 4, 2014 at 10:10 PM, Mark Rutland wrote: > On Tue, Jun 24, 2014 at 07:44:10AM +0100, sundeep subbaraya wrote: >> Ping >> >> Thanks, >> Sundeep.B.S. >> >> On Tue, Jun 10, 2014 at 5:34 PM, >> wrote: >> > From: Subbaraya Sundeep Bhatta >> > >> > Add devicetree bindings for Xilinx

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-07-06 Thread sundeep subbaraya
Hi Felipe, On Wed, Jul 2, 2014 at 10:16 PM, Felipe Balbi wrote: > Hi, > > On Sun, May 25, 2014 at 11:10:30PM +0530, sundeep subbaraya wrote: >> Hi Felipe, >> >> Please take a look at below about how this IP works: >> >> IN: >> req.buf ---> DMA (transfers from ddr to IP buffer, raise DMA >>