Re: [RFC PATCH linux-next] usb: gadget: udc: start_udc() can be static

2017-06-23 Thread Raviteja Garimella
Looks good to me. Thanks, Ravi On Fri, Jun 23, 2017 at 4:50 PM, kbuild test robot wrote: > > Signed-off-by: Fengguang Wu > --- > snps_udc_plat.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

[RESEND PATCH v4 2/5] usb: gadget: udc: make debug prints compatible with both pci and platform devices

2017-05-10 Thread Raviteja Garimella
This patch adds a struct device member to UDC data structure and makes changes to the arguments of dev_err and dev_dbg calls so that the debug prints work for both pci and platform devices. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadg

[RESEND PATCH v4 0/5] Platform driver support for 'amd5536udc' driver

2017-05-10 Thread Raviteja Garimella
called. 5. Modified the arguments passed to dma_pool_create routine -- which expects struct device, whereas NULL is passed in the existing version. 6. Kconfig changes are done so that the driver now depends on either of CONFIG_OF or CONFIG_PCI. More description about the Synopsys IP is provided. R

[RESEND PATCH v4 3/5] usb: gadget: udc: Provide correct arguments for 'dma_pool_create'

2017-05-10 Thread Raviteja Garimella
Change the argument from NULL to a struct device for the dma_pool_create call during dma init. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

[RESEND PATCH v4 5/5] usb: gadget: udc: Add Synopsys UDC Platform driver

2017-05-10 Thread Raviteja Garimella
members are added to the UDC data structure for having platform device support along with extcon and phy support. Kconfig and Makefiles are modified to select platform driver for compilation. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/K

[RESEND PATCH v4 4/5] dt-bindings: usb: DT bindings documentation for Broadcom IPROC USB Device controller.

2017-05-10 Thread Raviteja Garimella
The device node is used for UDCs integrated into Broadcom's iProc family of SoCs'. The UDC is based on Synopsys Designware Cores AHB Subsystem USB Device Controller IP. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- Documentation/devicetree/bindings/usb/iproc-u

[PATCH v4 3/5] usb: gadget: udc: Provide correct arguments for 'dma_pool_create'

2017-05-10 Thread Raviteja Garimella
Change the argument from NULL to a struct device for the dma_pool_create call during dma init. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

[PATCH v4 5/5] usb: gadget: udc: Add Synopsys UDC Platform driver

2017-05-10 Thread Raviteja Garimella
members are added to the UDC data structure for having platform device support along with extcon and phy support. Kconfig and Makefiles are modified to select platform driver for compilation. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/K

[PATCH v4 4/5] dt-bindings: usb: DT bindings documentation for Broadcom IPROC USB Device controller.

2017-05-10 Thread Raviteja Garimella
The device node is used for UDCs integrated into Broadcom's iProc family of SoCs'. The UDC is based on Synopsys Designware Cores AHB Subsystem USB Device Controller IP. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- Documentation/devicetree/bindings/usb/iproc-u

[PATCH v4 2/5] usb: gadget: udc: make debug prints compatible with both pci and platform devices

2017-05-10 Thread Raviteja Garimella
This patch adds a struct device member to UDC data structure and makes changes to the arguments of dev_err and dev_dbg calls so that the debug prints work for both pci and platform devices. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadg

[PATCH v4 0/5] Platform driver support for 'amd5536udc' driver

2017-05-10 Thread Raviteja Garimella
ch expects struct device, whereas NULL is passed in the existing version. 6. Kconfig changes are done so that the driver now depends on either of CONFIG_OF or CONFIG_PCI. More description about the Synopsys IP is provided. Raviteja Garimella (5): usb: gadget: udc: Rename amd5536udc dri

[RESEND PATCH v3 0/7] Platform driver support for 'amd5536udc' driver

2017-03-31 Thread Raviteja Garimella
s provided. Repo: https://github.com/Broadcom/arm64-linux.git Branch: snps_udc_v3 Raviteja Garimella (7): usb: gadget: udc: amd5536: split core and PCI layer UDC: Rename amd5536udc driver file based on IP UDC: make debug prints compatible with both pci and platform devices UDC: Provi

Re: [PATCH v3 2/7] UDC: Rename amd5536udc driver file based on IP

2017-03-31 Thread Raviteja Garimella
Hi Felipe, On Fri, Mar 31, 2017 at 3:19 PM, Felipe Balbi <ba...@kernel.org> wrote: > > Hi, > > Raviteja Garimella <raviteja.garime...@broadcom.com> writes: > >> This patch renames the amd5536udc.c that has the core driver >> functionality of Synopsys U

[RESEND PATCH v3 7/7] UDC: Add Synopsys UDC Platform driver

2017-03-31 Thread Raviteja Garimella
members are added to the UDC data structure for having platform device support along with extcon and phy support. Kconfig and Makefiles are modified to select platform driver for compilation. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/K

[RESEND PATCH v3 5/7] UDC: Use struct dma_pool instead of pci_pool

2017-03-31 Thread Raviteja Garimella
Using dma_pool instead of pci_pool will make snps_udc_core driver to be compatible with non-pci platforms. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/snps_udc_core.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[RESEND PATCH v3 6/7] DT bindings documentation for Broadcom IPROC USB Device controller.

2017-03-31 Thread Raviteja Garimella
The device node is used for UDCs integrated into Broadcom's iProc family of SoCs'. The UDC is based on Synopsys Designware Cores AHB Subsystem USB Device Controller IP. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- Documentation/devicetree/bindings/usb/iproc-u

[RESEND PATCH v3 3/7] UDC: make debug prints compatible with both pci and platform devices

2017-03-31 Thread Raviteja Garimella
This patch adds a struct device member to UDC data structure and makes changes to the arguments of dev_err and dev_dbg calls so that the debug prints work for both pci and platform devices. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadg

[RESEND PATCH v3 4/7] UDC: Provide correct arguments for 'dma_pool_create'

2017-03-31 Thread Raviteja Garimella
Change the argument from NULL to a struct device for the dma_pool_create call during dma init. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

[PATCH v3 6/7] DT bindings documentation for Broadcom IPROC USB Device controller.

2017-03-28 Thread Raviteja Garimella
The device node is used for UDCs integrated into Broadcom's iProc family of SoCs'. The UDC is based on Synopsys Designware Cores AHB Subsystem USB Device Controller IP. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- Documentation/devicetree/bindings/usb/iproc-u

[PATCH v3 7/7] UDC: Add Synopsys UDC Platform driver

2017-03-28 Thread Raviteja Garimella
members are added to the UDC data structure for having platform device support along with extcon and phy support. Kconfig and Makefiles are modified to select platform driver for compilation. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/K

[PATCH v3 3/7] UDC: make debug prints compatible with both pci and platform devices

2017-03-28 Thread Raviteja Garimella
This patch adds a struct device member to UDC data structure and makes changes to the arguments of dev_err and dev_dbg calls so that the debug prints work for both pci and platform devices. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadg

[PATCH v3 0/7] Platform driver support for 'amd5536udc' driver

2017-03-28 Thread Raviteja Garimella
e driver now depends on either of CONFIG_OF or CONFIG_PCI. More description about the Synopsys IP is provided. Repo: https://github.com/Broadcom/arm64-linux.git Branch: udc_snps_v3 Raviteja Garimella (7): UDC: Split the driver into amd (pci) and Synopsys core IP driver UDC: Rename amd5536u

[PATCH v3 5/7] UDC: Use struct dma_pool instead of pci_pool

2017-03-28 Thread Raviteja Garimella
Using dma_pool instead of pci_pool will make snps_udc_core driver to be compatible with non-pci platforms. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/amd5536udc.h| 4 ++-- drivers/usb/gadget/udc/snps_udc_core.c | 8 2 files c

[PATCH v3 1/7] UDC: Split the driver into amd (pci) and Synopsys core IP driver

2017-03-28 Thread Raviteja Garimella
-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/Kconfig | 18 +++ drivers/usb/gadget/udc/Makefile | 3 +- drivers/usb/gadget/udc/amd5536udc.c | 238 drivers/usb/gadget/udc/amd5536udc.h

[PATCH v3 4/7] UDC: Provide correct arguments for 'dma_pool_create'

2017-03-28 Thread Raviteja Garimella
Change the argument from NULL to a struct device for the dma_pool_create call during dma init. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

[PATCH v2 5/6] DT bindings documentation for Broadcom IPROC USB Device controller.

2017-02-21 Thread Raviteja Garimella
The device node is used for UDCs integrated into Broadcom's iProc family of SoCs'. The UDC is based on Synopsys Designware Cores AHB Subsystem USB Device Controller IP. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- Documentation/devicetree/bindings/usb/iproc-u

[PATCH v2 4/6] UDC: Provide correct arguments for 'dma_pool_create'

2017-02-21 Thread Raviteja Garimella
Change the argument from NULL to a struct device for the dma_pool_create call during dma init. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

[PATCH v2 1/6] UDC: Split the driver into amd (pci) and Synopsys core IP driver

2017-02-21 Thread Raviteja Garimella
-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/Kconfig | 19 +++ drivers/usb/gadget/udc/Makefile | 3 +- drivers/usb/gadget/udc/amd5536udc.c | 238 drivers/usb/gadget/udc/amd5536udc.h

[PATCH v2 3/6] UDC: make debug prints compatible with both pci and platform devices

2017-02-21 Thread Raviteja Garimella
This patch adds a struct device member to UDC data structure and makes changes to the arguments of dev_err and dev_dbg calls so that the debug prints work for both pci and platform devices. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadg

[PATCH v2 6/6] UDC: Add Synopsys UDC Platform driver

2017-02-21 Thread Raviteja Garimella
members are added to the UDC data structure for having platform device support along with extcon and phy support. Kconfig and Makefiles are modified to select platform driver for compilation. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/K

[PATCH v2 0/6] Platform driver support for 'amd5536udc' driver

2017-02-21 Thread Raviteja Garimella
rsion. 6. Kconfig changes are done so that the driver now depends on either of CONFIG_OF or CONFIG_PCI. More description about the Synopsys IP is provided. Repo: https://github.com/Broadcom/arm64-linux.git Branch: snps_udc_v2 Raviteja Garimella (6): UDC: Split the driver into amd (pci) an

Re: [PATCH 5/6] DT bindings documentation for Broadcom IPROC USB Device controller.

2017-02-02 Thread Raviteja Garimella
Hi Rob, On Wed, Feb 1, 2017 at 9:43 PM, Rob Herring <r...@kernel.org> wrote: > On Mon, Jan 30, 2017 at 01:26:12PM +0530, Raviteja Garimella wrote: >> The device node is used for UDCs integrated into Broadcom's >> iProc family of SoCs'. The UDC is based on Synopsys De

[PATCH 1/6] UDC: Split the driver into amd (pci) and Synopsys core IP driver

2017-01-30 Thread Raviteja Garimella
-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/Kconfig | 18 +++ drivers/usb/gadget/udc/Makefile | 3 +- drivers/usb/gadget/udc/amd5536udc.c | 238 drivers/usb/gadget/udc/amd5536udc.h

[PATCH 3/6] UDC: make debug prints compatible with both pci and platform devices

2017-01-30 Thread Raviteja Garimella
This patch adds a struct device member to UDC data structure and makes changes to the arguments of dev_err and dev_dbg calls so that the debug prints work for both pci and platform devices. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadg

[PATCH 0/6] Platform driver support for 'amd5536udc' driver

2017-01-30 Thread Raviteja Garimella
on either of CONFIG_OF or CONFIG_PCI. More description about the Synopsys IP is provided. Repo: https://github.com/Broadcom/arm64-linux.git Branch: snps_udc Raviteja Garimella (6): UDC: Split the driver into amd (pci) and Synopsys core IP driver UDC: Rename amd5536udc driver file b

[PATCH 4/6] UDC: Provide correct arguments for 'dma_pool_create'

2017-01-30 Thread Raviteja Garimella
Change the argument from NULL to a struct device for the dma_pool_create call during dma init. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

[PATCH 6/6] UDC: Add Synopsys UDC Platform driver

2017-01-29 Thread Raviteja Garimella
members are added to the UDC data structure for having platform device support along with extcon and phy support. Kconfig and Makefiles are modified to select platform driver for compilation. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/K

[PATCH 5/6] DT bindings documentation for Broadcom IPROC USB Device controller.

2017-01-29 Thread Raviteja Garimella
The device node is used for UDCs integrated into Broadcom's iProc family of SoCs'. The UDC is based on Synopsys Designware Cores AHB Subsystem USB Device Controller IP. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- .../bindings/usb/brcm,iproc-snps-udc.txt

Re: [RFC v2 1/5] UDC: Split the driver into amd (pci) and Synopsys core driver

2017-01-23 Thread Raviteja Garimella
Hi Florian, On Fri, Jan 20, 2017 at 12:58 AM, Florian Fainelli <f.faine...@gmail.com> wrote: > On 01/19/2017 02:44 AM, Raviteja Garimella wrote: >> Hi, >> >> On Thu, Jan 19, 2017 at 12:15 AM, Florian Fainelli <f.faine...@gmail.com> >> wrote: >>>

Re: [RFC v2 4/5] DT bindings documentation for Synopsys UDC platform driver

2017-01-20 Thread Raviteja Garimella
Hi Rob, On Thu, Jan 19, 2017 at 11:06 PM, Rob Herring <r...@kernel.org> wrote: > On Tue, Jan 17, 2017 at 01:35:07PM +0530, Raviteja Garimella wrote: >> This patch adds device tree bindings documentation for Synopsys >> USB device controller platform driver. > > Binding

Re: [RFC v2 1/5] UDC: Split the driver into amd (pci) and Synopsys core driver

2017-01-19 Thread Raviteja Garimella
Hi, On Thu, Jan 19, 2017 at 12:15 AM, Florian Fainelli <f.faine...@gmail.com> wrote: > On 01/17/2017 12:05 AM, Raviteja Garimella wrote: >> This patch splits the amd5536udc driver into two -- one that does >> pci device registration and the other file that does the rest o

[RFC v2 5/5] UDC: Add Synopsys UDC Platform driver

2017-01-17 Thread Raviteja Garimella
and phy support. Kconfig and Makefile have the required changes to compile the same. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/Kconfig | 15 ++ drivers/usb/gadget/udc/Makefile| 1 + drivers/usb/gadget/udc/amd5536udc.h

[RFC v2 4/5] DT bindings documentation for Synopsys UDC platform driver

2017-01-17 Thread Raviteja Garimella
This patch adds device tree bindings documentation for Synopsys USB device controller platform driver. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- .../devicetree/bindings/usb/snps,dw-ahb-udc.txt| 27 ++ 1 file changed, 27 insertions(+)

[RFC v2 2/5] UDC: make debug prints compatible with both pci and platform devices

2017-01-17 Thread Raviteja Garimella
This patch adds a struct device member to UDC data structure and makes changes to the arguments of dev_err and dev_dbg calls so that the debug prints work for both pci and platform devices. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadg

[RFC v2 0/5] Platform driver support for 'amd5536udc' driver

2017-01-17 Thread Raviteja Garimella
on either of CONFIG_OF or CONFIG_PCI. More description about the Synopsys IP is provided. Raviteja Garimella (5): UDC: Split the driver into amd (pci) and Synopsys core driver UDC: make debug prints compatible with both pci and platform devices UDC: Provide correct arguments

[RFC v2 3/5] UDC: Provide correct arguments for 'dma_pool_create'

2017-01-17 Thread Raviteja Garimella
Change the argument from NULL to a struct device for the dma_pool_create call during dma init. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

Re: [RFC 1/1] Changes to support the driver for platform device registration

2017-01-05 Thread Raviteja Garimella
Hi Florian, On Thu, Jan 5, 2017 at 11:13 PM, Florian Fainelli <f.faine...@gmail.com> wrote: > On 01/05/2017 12:23 AM, Raviteja Garimella wrote: >> -- Add OF based platform device registration >> -- Modify debug prints to be compatible with both pci and platform devi

Re: [RFC 0/1] Platform driver support for 'amd5536udc' driver

2017-01-05 Thread Raviteja Garimella
Hi Arnd, On Fri, Jan 6, 2017 at 3:33 AM, Arnd Bergmann <a...@arndb.de> wrote: > On Thursday, January 5, 2017 1:53:16 PM CET Raviteja Garimella wrote: >> The UDC is based on Synopsys Designware core USB (2.0) Device controller >> IP. > ... >> This is a request for co

[RFC 0/1] Platform driver support for 'amd5536udc' driver

2017-01-05 Thread Raviteja Garimella
or CONFIG_PCI. More description about the Synopsys IP is provided. Raviteja Garimella (1): Changes to support the driver for platform device registration drivers/usb/gadget/udc/Kconfig | 6 +- drivers/usb/gadget/udc/amd5536udc.c | 397 +--- drivers/usb/gadget

[RFC 1/1] Changes to support the driver for platform device registration

2017-01-05 Thread Raviteja Garimella
-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/Kconfig | 6 +- drivers/usb/gadget/udc/amd5536udc.c | 397 +--- drivers/usb/gadget/udc/amd5536udc.h | 17 +- 3 files changed, 387 insertions(+), 33 deletions(-) diff

Re: [PATCH 1/2] Add DT bindings documentation for Synopsys UDC driver

2016-12-06 Thread Raviteja Garimella
Hi Rob, On Tue, Dec 6, 2016 at 4:34 AM, Rob Herring <r...@kernel.org> wrote: > On Wed, Nov 30, 2016 at 11:35:09AM +0530, Raviteja Garimella wrote: >> This patch adds documentation for Synopsis Designware Cores AHB >> Subsystem Device Controller (UDC). >> >>

Re: [PATCH 2/2] Synopsys USB 2.0 Device Controller (UDC) Driver

2016-11-30 Thread Raviteja Garimella
Hi Balbi, On Wed, Nov 30, 2016 at 4:10 PM, Felipe Balbi <ba...@kernel.org> wrote: > > Hi, > > Raviteja Garimella <raviteja.garime...@broadcom.com> writes: >> This is driver for Synopsys Designware Cores USB Device >> Controller (UDC) Subsystem with the AMBA A

[PATCH 2/2] Synopsys USB 2.0 Device Controller (UDC) Driver

2016-11-29 Thread Raviteja Garimella
This is driver for Synopsys Designware Cores USB Device Controller (UDC) Subsystem with the AMBA Advanced High-Performance Bus (AHB). This driver works with Synopsys UDC20 products. Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- drivers/usb/gadget/udc/Kconfig

[PATCH 0/2] Support for Synopsys UDC for ARM platforms

2016-11-29 Thread Raviteja Garimella
in NS2 dtsi will be sent for review once the DRD phy driver code is pushed (which is being reviewed in a separate patch series). This patchset is tested on Broadcom NS2 BCM958712K reference board. Repo: https://github.com/Broadcom/arm64-linux.git Branch: udc_v1 Raviteja Garimella (2): Add DT

[PATCH 1/2] Add DT bindings documentation for Synopsys UDC driver

2016-11-29 Thread Raviteja Garimella
This patch adds documentation for Synopsis Designware Cores AHB Subsystem Device Controller (UDC). Signed-off-by: Raviteja Garimella <raviteja.garime...@broadcom.com> --- .../devicetree/bindings/usb/snps,dw-ahb-udc.txt| 29 ++ 1 file changed, 29 insertions(+) creat