[RFC PATCH] usb: host: xhci: plat: add support for otg_set_host() call

2016-12-14 Thread Manish Narani
This patch will add support for OTG host initialization. This will help OTG drivers to populate their host subsystem. Signed-off-by: Manish Narani --- drivers/usb/host/xhci-plat.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/drivers

[RFC PATCH] usb: host: xhci: plat: add support for otg_set_host() call

2016-12-14 Thread Manish Narani
This patch will add support for OTG host initialization. This will help OTG drivers to populate their host subsystem. Signed-off-by: Manish Narani --- drivers/usb/host/xhci-plat.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/usb/host/xhci

RE: [RFC PATCH] usb: host: xhci: plat: add support for otg_set_host() call

2016-12-15 Thread Manish Narani
Thanks Greg. I have send another patch with changes as per your suggestions. Please review it and let me know if you have any concerns. - Manish -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, December 15, 2016 2:29 AM To: Manish Narani Cc

RE: [RFC PATCH] usb: host: xhci: plat: add support for otg_set_host() call

2017-01-01 Thread Manish Narani
Ping !! -Original Message- From: Manish Narani [mailto:manish.nar...@xilinx.com] Sent: Thursday, December 15, 2016 1:24 PM To: mathias.ny...@intel.com; gre...@linuxfoundation.org; linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org Cc: Anurag Kumar Vulisha ; Punnaiah Choudary Kalluri

RE: [RFC PATCH] usb: host: xhci: plat: add support for otg_set_host() call

2017-01-02 Thread Manish Narani
planning to add DWC3 OTG driver after this patch is added. Please let me know your valuable suggestions on this. Thanks, Manish -Original Message- From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] Sent: Monday, January 02, 2017 2:53 PM To: Manish Narani Cc: Manish

[RFC PATCH] arch: arm64: dts: add USB OTG interrupts support in ZynqMP device tree

2017-01-04 Thread Manish Narani
This patch adds OTG interrupt support in device tree. It will add an extra interrupt line number dedicated to OTG events. This will enable OTG interrupts to serve in DWC3 OTG driver. Signed-off-by: Manish Narani --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion

[RFC PATCH] usb: dwc3: core: add OTG support function calls and modifications

2017-01-04 Thread Manish Narani
This patch adds function call to initialize OTG driver. This patch also adds support for OTG device structure in DWC3 device. Modifications to event buffer related functions which are called from OTG driver upon requirement. Signed-off-by: Manish Narani --- drivers/usb/dwc3/core.c | 17

[RFC PATCH] usb: dwc3: host: add support for OTG in DWC3 host driver

2017-01-04 Thread Manish Narani
This patch adds support for OTG host mode initialization in DWC3 host driver. Before the host initialization sequence begins. The driver has to make sure the no OTG peripheral mode is enabled. Signed-off-by: Manish Narani --- drivers/usb/dwc3/host.c | 14 ++ 1 file changed, 14

[RFC PATCH] usb: dwc3: add support for OTG driver compilation

2017-01-04 Thread Manish Narani
This patch adds support for OTG driver compilation and object file creation Signed-off-by: Manish Narani --- drivers/usb/dwc3/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile index ffca340..2d269ad 100644 --- a/drivers/usb

[RFC PATCH] usb: dwc3: gadget: add support for OTG in gadget framework

2017-01-04 Thread Manish Narani
This patch adds support for OTG in DWC3 gadget framework. This also adds support for HNP polling by host while in OTG mode. Modifications in couple of functions to make it in sync with OTG driver while keeping its original functionality intact. Signed-off-by: Manish Narani --- drivers/usb/dwc3

[RFC PATCH] usb: dwc3: otg: Adding OTG driver for DWC3 controller

2017-01-04 Thread Manish Narani
This driver will add support for USB 2.0 OTG and USB 3.0 DRD in DWC3 framework. This OTG driver supports host/peripheral modes on run time. This driver will enable HNP and SRP support in High-Speed mode. Signed-off-by: Manish Narani --- drivers/usb/dwc3/otg.c | 2064

[RFC PATCH] usb: host: xhci: plat: add support for otg_set_host() call

2017-01-04 Thread Manish Narani
This patch will add support for OTG host initialization. This will help OTG drivers to populate their host subsystem. Signed-off-by: Manish Narani --- drivers/usb/host/xhci-plat.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/usb/host/xhci

RE: [RFC PATCH] usb: dwc3: add support for OTG driver compilation

2017-01-04 Thread Manish Narani
Hi Felipe, > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: Wednesday, January 04, 2017 7:01 PM > Hi, > > Manish Narani writes: > > This patch adds support for OTG driver compilation and object file > > creation > > > > Signed-off-by: Manish Narani

RE: [RFC PATCH] usb: dwc3: host: add support for OTG in DWC3 host driver

2017-01-05 Thread Manish Narani
Hi Felipe, > -Original Message- > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: Wednesday, January 04, 2017 7:03 PM > > Hi, > > Manish Narani writes: > > This patch adds support for OTG host mode initialization in DWC3 host > > driver. Before

[LINUX PATCH] usb: gadget: Configure data verification through module parameter in gadget zero

2016-09-29 Thread Manish Narani
This patch adds support to configure data verification through module parameter. This parameter can be used to disable data verification in case if one wants to measure peak Bulk/Isoc-IN/OUT performance Signed-off-by: Manish Narani --- drivers/usb/gadget/function/f_sourcesink.c | 6

[LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero.

2016-09-29 Thread Manish Narani
This patch adds support to configure bulk maxburst through module parameter. This parameter can be used to modify bulk maxburst in case if one wants to measure peak Bulk/Isoc-IN/OUT performance. Signed-off-by: Manish Narani --- drivers/usb/gadget/function/f_sourcesink.c | 14

RE: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero.

2016-09-30 Thread Manish Narani
Hi Greg, Thanks for the suggestion. I will fix it and send you in next version. :) Regards, Manish -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, September 29, 2016 2:24 PM To: Manish Narani Cc: ba...@kernel.org; k.opas...@samsung.com; r.bald

RE: [LINUX PATCH] usb: gadget: Configure data verification through module parameter in gadget zero

2016-09-30 Thread Manish Narani
Hi Greg, Thanks for the suggestion. I will fix it and send you in next version. :) Regards, Manish -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, September 29, 2016 4:56 PM To: Manish Narani Cc: ba...@kernel.org; k.opas...@samsung.com; r.bald

[PATCH] usb: gadget: Correct usb EP argument for BOT status request

2017-03-20 Thread Manish Narani
This patch corrects the argument in usb_ep_free_request as it is mistakenly set to ep_out. It should be ep_in for status request. Signed-off-by: Manish Narani --- drivers/usb/gadget/function/f_tcm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget