Re: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-08-26 Thread sundeep subbaraya
Hi, On Wed, Aug 26, 2015 at 8:57 PM, Nathan Sullivan nathan.sulli...@ni.com wrote: The Xilinx Zynq udc does not need the CI_HDRC_DISABLE_STREAMING flag, unlike the default platform data. Add platform data specific to the Zynq udc. Based on a patch by the same name from the Xilinx vendor

Re: DWC3 linux driver query

2015-05-29 Thread sundeep subbaraya
Hi Felipe, On Thu, May 28, 2015 at 7:41 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, May 28, 2015 at 04:53:09PM +0530, sundeep subbaraya wrote: Hi Felipe and Paul, btw, Paul has left Synopys :-) ahh I see.. I am seeing an issue while testing iperf for USB ethernet gadget with dwc3

Re: DWC3 linux driver query

2015-05-29 Thread sundeep subbaraya
Hi, On Fri, May 29, 2015 at 8:35 PM, Felipe Balbi ba...@ti.com wrote: On Fri, May 29, 2015 at 07:01:16PM +0530, sundeep subbaraya wrote: Hi Felipe, On Thu, May 28, 2015 at 7:41 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, May 28, 2015 at 04:53:09PM +0530, sundeep subbaraya wrote

DWC3 linux driver query

2015-05-28 Thread sundeep subbaraya
Hi Felipe and Paul, I am seeing an issue while testing iperf for USB ethernet gadget with dwc3 controller in 2.0 mode. After debugging I figured out that: 1. Network gadget queues say 3 requests. (for IN endpoint) 2. It turns out with req.no_interrupt flag, DWC3 driver issues START_TRANSFER

Re: query on DWC3

2015-01-18 Thread sundeep subbaraya
Hi Felipe, On Thu, Jan 8, 2015 at 10:27 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Tue, Jan 06, 2015 at 12:39:55PM +0530, sundeep subbaraya wrote: On Sun, Dec 14, 2014 at 08:39:18AM +0530, sundeep subbaraya wrote: Hi Paul, As per my understanding, for BULK OUT we do queue a request

Re: query on DWC3

2015-01-05 Thread sundeep subbaraya
Hi, On Mon, Dec 22, 2014 at 9:42 PM, Felipe Balbi ba...@ti.com wrote: Hi again, On Mon, Dec 22, 2014 at 10:11:23AM -0600, Felipe Balbi wrote: (please don't top-post) Sure. On Sun, Dec 14, 2014 at 08:39:18AM +0530, sundeep subbaraya wrote: Hi Paul, As per my understanding, for BULK

Re: query on DWC3

2014-12-13 Thread sundeep subbaraya
IN and OUT. Now it is clear for me. Thanks for the clarification :) Sundeep On Sun, Dec 14, 2014 at 5:21 AM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of sundeep subbaraya Sent: Friday, December 12

query on DWC3

2014-12-12 Thread sundeep subbaraya
Hi Felipe, In DWC3 driver, for three stage Control OUT transfer there is a check: else if (!IS_ALIGNED(req-request.length, dep-endpoint.maxpacket) (dep-number == 0)) {. } I understand that we check for alignment of sizes and if not we prepare trb with maxpacket and enable

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

2014-09-10 Thread sundeep subbaraya
Hi Felipe, On Thu, Aug 21, 2014 at 7:30 PM, Felipe Balbi ba...@ti.com wrote: On Thu, Aug 21, 2014 at 12:19:03PM +0530, sundeep subbaraya wrote: Hi Daniel, On Tue, Aug 19, 2014 at 3:26 PM, Daniel Mack dan...@zonque.org wrote: Hi, On 07/22/2014 11:08 AM, Subbaraya Sundeep Bhatta wrote

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

2014-08-19 Thread sundeep subbaraya
Hi, On Tue, Jul 22, 2014 at 3:32 PM, Varka Bhadram varkabhad...@gmail.com wrote: On 07/22/2014 02:38 PM, Subbaraya Sundeep Bhatta wrote: +#include linux/delay.h +#include linux/device.h +#include linux/dma-mapping.h +#include gadget_chips.h +#include linux/interrupt.h +#include linux/io.h

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

2014-07-07 Thread sundeep subbaraya
Hi, On Fri, Jul 4, 2014 at 10:10 PM, Mark Rutland mark.rutl...@arm.com 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, subbaraya.sundeep.bha...@xilinx.com wrote: From: Subbaraya Sundeep Bhatta sbha

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

2014-07-07 Thread sundeep subbaraya
Hi Felipe, On Wed, Jul 2, 2014 at 10:16 PM, Felipe Balbi ba...@ti.com 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 done

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

2014-06-24 Thread sundeep subbaraya
Ping Thanks, Sundeep.B.S. On Tue, Jun 10, 2014 at 5:34 PM, subbaraya.sundeep.bha...@xilinx.com wrote: From: Subbaraya Sundeep Bhatta sbha...@xilinx.com Add devicetree bindings for Xilinx axi udc driver. Signed-off-by: Subbaraya Sundeep Bhatta sbha...@xilinx.com --- Changes for v3:

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

2014-05-25 Thread sundeep subbaraya
at 09:57:52AM +0530, sundeep subbaraya wrote: I get the impression that the two of you are arguing past each other. It appears that Sundeep is talking about transferring data from the gadget driver's buffer to an internal buffer in the UDC hardware, but Felipe is talking about

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

2014-04-22 Thread sundeep subbaraya
Hi, On Mon, Apr 21, 2014 at 10:09 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 21 Apr 2014, Felipe Balbi wrote: Hi, On Fri, Apr 18, 2014 at 07:34:08PM +0530, sundeep subbaraya wrote: snip in ep_queue driver starts dma transfer from/to IP buffer to/from req-buf

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

2014-04-18 Thread sundeep subbaraya
Hi Felipe, On Thu, Apr 17, 2014 at 8:31 PM, Felipe Balbi ba...@ti.com wrote: On Thu, Apr 17, 2014 at 03:01:37PM +0530, sundeep subbaraya wrote: Hi Felipe, On Wed, Apr 16, 2014 at 11:32 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Apr 16, 2014 at 04:09:28PM +0530, sundeep subbaraya

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

2014-04-17 Thread sundeep subbaraya
Hi Felipe, On Wed, Apr 16, 2014 at 11:32 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Apr 16, 2014 at 04:09:28PM +0530, sundeep subbaraya wrote: Hi Felipe, On Thu, Apr 3, 2014 at 8:28 PM, Felipe Balbi ba...@ti.com wrote: +static int start_dma(struct xusb_ep *ep, u32 src, u32 dst, u32

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

2014-04-17 Thread sundeep subbaraya
Hi, On Thu, Apr 17, 2014 at 1:38 AM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of sundeep subbaraya Sent: Wednesday, April 16, 2014 3:39 AM Hi Felipe, On Thu, Apr 3, 2014 at 8:28 PM, Felipe

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

2014-04-16 Thread sundeep subbaraya
Hi Felipe, On Thu, Apr 3, 2014 at 8:28 PM, Felipe Balbi ba...@ti.com wrote: +static int start_dma(struct xusb_ep *ep, u32 src, u32 dst, u32 length) please prepend this with xudc_, it makes tracing a lot easier. +{ + struct xusb_udc *udc; + int rc = 0; + unsigned long timeout;

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

2014-04-08 Thread sundeep subbaraya
On Mon, Apr 7, 2014 at 10:05 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Apr 07, 2014 at 02:36:13PM +0530, sundeep subbaraya wrote: +/** + * xudc_wrstatus - Sets up the usb device status stages. + * @udc: pointer to the usb device controller structure. + */ +static void

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

2014-04-07 Thread sundeep subbaraya
Hi Michal, On Thu, Apr 3, 2014 at 8:53 PM, Michal Simek mon...@monstr.eu wrote: +struct xusb_udc { +struct usb_gadget gadget; +struct xusb_ep ep[8]; +struct usb_gadget_driver *driver; +struct cmdbuf ch9cmd; +u32 usb_state; +u32 remote_wkp; +unsigned int

Re: [PATCH RFC] usb: gadget: Add xilinx axi usb2 device support

2014-03-10 Thread sundeep subbaraya
On Fri, Feb 21, 2014 at 9:09 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Fri, Feb 21, 2014 at 11:27:07AM +, Subbaraya Sundeep Bhatta wrote: From the looks of it, I doubt this was actually tested, you need a lot of work on this driver. Tested on both ARM and Microblaze architectures