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 a/drivers/usb/gadget/udc/snps_udc_plat.c > b/drivers/usb/gadget/udc/

[PATCH v9 2/3] phy: phy-bcm-ns2-usbdrd: Broadcom USB DRD PHY driver for Northstar2

2017-06-09 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/broadcom/Kconfig | 13 + drivers/phy/broadcom/Makefile | 1 + drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c | 437 ++ 3 files changed, 451 inser

[PATCH v9 1/3] dt-bindings: phy: Add DT bindings documentation for NS2 USB DRD PHY

2017-06-09 Thread Raviteja Garimella
This patch adds DT bindings documentation for NS2 DRD PHY driver. Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v9 0/3] Support for USB DRD PHY driver for NS2

2017-06-09 Thread Raviteja Garimella
et is tested on Broadcom NS2 BCM958712K reference board. Raviteja Garimella (3): dt-bindings: phy: Add DT bindings documentation for NS2 USB DRD PHY phy: phy-bcm-ns2-usbdrd: Broadcom USB DRD PHY driver for Northstar2 arm64: dts: NS2: Add USB DRD PHY device tree node .../devicetree/bindings/phy/

[PATCH v9 3/3] arm64: dts: NS2: Add USB DRD PHY device tree node

2017-06-09 Thread Raviteja Garimella
This patch adds device tree node for USB Dual Role Device PHY for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

Re: [PATCH v8 0/3] Support for USB DRD PHY driver for NS2

2017-06-09 Thread Raviteja Garimella
Hi, On Fri, Jun 9, 2017 at 4:46 PM, Kishon Vijay Abraham I wrote: > > > On Friday 09 June 2017 04:23 PM, Raviteja Garimella wrote: >> Hi Kishon, >> >> On Fri, Jun 9, 2017 at 2:36 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Friday 09

[RESEND PATCH v8 0/3] Support for USB DRD PHY driver for NS2

2017-06-09 Thread Raviteja Garimella
://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v8 *** BLURB HERE *** Raviteja Garimella (3): dt-bindings: phy: Add DT bindings documentation for NS2 USB DRD PHY phy: phy-bcm-ns2-usbdrd: Broadcom USB DRD PHY driver for Northstar2 arm64: dts: NS2: Add USB DRD PHY device tree node

[RESEND PATCH v8 2/3] phy: phy-bcm-ns2-usbdrd: Broadcom USB DRD PHY driver for Northstar2

2017-06-09 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 437 +++ 3 files changed, 451 insertions(+) create mode 1

[RESEND PATCH v8 3/3] arm64: dts: NS2: Add USB DRD PHY device tree node

2017-06-09 Thread Raviteja Garimella
This patch adds device tree node for USB Dual Role Device PHY for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[RESEND PATCH v8 1/3] dt-bindings: phy: Add DT bindings documentation for NS2 USB DRD PHY

2017-06-09 Thread Raviteja Garimella
This patch adds DT bindings documentation for NS2 DRD PHY driver. Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

Re: [PATCH v8 0/3] Support for USB DRD PHY driver for NS2

2017-06-09 Thread Raviteja Garimella
Hi Kishon, On Fri, Jun 9, 2017 at 2:36 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 09 June 2017 02:30 PM, Raviteja Garimella wrote: >> Hi, >> >> On Fri, Jun 9, 2017 at 2:25 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Th

Re: [PATCH v8 0/3] Support for USB DRD PHY driver for NS2

2017-06-09 Thread Raviteja Garimella
Hi, On Fri, Jun 9, 2017 at 2:25 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 08 June 2017 04:05 PM, Raviteja Garimella wrote: >> Changes in v8: >> = >> -Renamed phy shutdown routine >> -Used devm_request_irq in stead of threaded irq > &g

[PATCH v8 1/3] dt-bindings: phy: Add DT bindings documentation for NS2 USB DRD PHY

2017-06-08 Thread Raviteja Garimella
This patch adds DT bindings documentation for NS2 DRD PHY driver. Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v8 2/3] phy: phy-bcm-ns2-usbdrd: Broadcom USB DRD PHY driver for Northstar2

2017-06-08 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 437 +++ 3 files changed, 451 insertions(+) create mode 1

[PATCH v8 3/3] arm64: dts: NS2: Add USB DRD PHY device tree node

2017-06-08 Thread Raviteja Garimella
This patch adds device tree node for USB Dual Role Device PHY for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v8 0/3] Support for USB DRD PHY driver for NS2

2017-06-08 Thread Raviteja Garimella
USB Dual Role Device Phy for Broadcom Northstar2 SoC. Apart from the new phy driver, this patchset contains changes to Kconfig, Makefile, and Device tree files. This patchset is tested on Broadcom NS2 BCM958712K reference board. Repo: https://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v8

Re: [PATCH v7 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-06-08 Thread Raviteja Garimella
Hi Kishon, On Wed, Jun 7, 2017 at 7:08 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 02 June 2017 06:30 PM, Raviteja Garimella wrote: >> This is driver for USB DRD Phy used in Broadcom's Northstar2 >> SoC. The phy can be configured to be in Device mode or Host

[PATCH v7 1/3] dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy

2017-06-02 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v7 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-06-02 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 450 +++ 3 files changed, 464 insertions(+) create mode 1

[PATCH v7 0/3] Support for USB DRD Phy driver for NS2

2017-06-02 Thread Raviteja Garimella
This patchset is tested on Broadcom NS2 BCM958712K reference board. Repo: https://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v7 *** BLURB HERE *** Raviteja Garimella (3): dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy d

[PATCH v7 3/3] arm64: dts: NS2: Add USB DRD PHY device tree node

2017-06-02 Thread Raviteja Garimella
This patch adds device tree node for USB Dual Role Device Phy for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

Re: [PATCH v6 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-06-02 Thread Raviteja Garimella
Hi, On Fri, Jun 2, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 02 June 2017 05:21 PM, Raviteja Garimella wrote: >> Hi, >> >> On Fri, Jun 2, 2017 at 5:18 PM, Raviteja Garimella >> wrote: >>> Hi Kishon, >>> >>

Re: [PATCH v6 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-06-02 Thread Raviteja Garimella
Hi, On Fri, Jun 2, 2017 at 5:18 PM, Raviteja Garimella wrote: > Hi Kishon, > > On Fri, Jun 2, 2017 at 3:59 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Wednesday 31 May 2017 03:42 PM, Raviteja Garimella wrote: >>> This is driver for USB DRD Phy used i

Re: [PATCH v6 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-06-02 Thread Raviteja Garimella
Hi Kishon, On Fri, Jun 2, 2017 at 3:59 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 31 May 2017 03:42 PM, Raviteja Garimella wrote: >> This is driver for USB DRD Phy used in Broadcom's Northstar2 >> SoC. The phy can be configured to be in Device mode or Host

[PATCH v6 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-05-31 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 466 +++ 3 files changed, 480 insertions(+) create mode 1

[PATCH v6 0/3] Support for USB DRD Phy driver for NS2

2017-05-31 Thread Raviteja Garimella
Apart from the new phy driver, this patchset contains changes to Kconfig, Makefile, and Device tree files. This patchset is tested on Broadcom NS2 BCM958712K reference board. Repo: https://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v6 Raviteja Garimella (3): dt-bindings:phy:Add DT

[PATCH v6 3/3] arm64: dts: NS2: Add USB DRD PHY device tree node

2017-05-31 Thread Raviteja Garimella
This patch adds device tree node for USB Dual Role Device Phy for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v6 1/3] dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy

2017-05-31 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

Re: [RESEND PATCH v5 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-05-31 Thread Raviteja Garimella
Hi Kishon, On Tue, May 16, 2017 at 6:33 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 10 May 2017 12:24 PM, Raviteja Garimella wrote: >> This is driver for USB DRD Phy used in Broadcom's Northstar2 >> SoC. The phy can be configured to be in Device mode or

[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 --- drivers/usb/gadget/udc/amd5536udc.h | 4 +++- drivers/usb

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

2017-05-10 Thread Raviteja Garimella
New 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 --- drivers/usb/gadget/udc/Kconfig | 16 +- drivers/usb/g

[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 --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers

[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 --- Documentation/devicetree/bindings/usb/iproc-udc.txt | 21 +++

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

2017-05-10 Thread Raviteja Garimella
so as to return if the routine is already 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 de

[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 --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers

[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 --- Documentation/devicetree/bindings/usb/iproc-udc.txt | 21 +++

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

2017-05-10 Thread Raviteja Garimella
New 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 --- drivers/usb/gadget/udc/Kconfig | 16 +- drivers/usb/g

[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 --- drivers/usb/gadget/udc/amd5536udc.h | 4 +++- drivers/usb

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

2017-05-10 Thread Raviteja Garimella
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. Raviteja Garime

[RESEND PATCH v5 3/3] arm64: dts: NS2: Add USB DRD PHY device tree node

2017-05-09 Thread Raviteja Garimella
This patch adds device tree node for USB Dual Role Device Phy for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[RESEND PATCH v5 0/3] Support for USB DRD Phy driver for NS2

2017-05-09 Thread Raviteja Garimella
ole Device Phy for Broadcom Northstar2 SoC. Apart from the new phy driver, this patchset contains changes to Kconfig, Makefile, and Device tree files. This patchset is tested on Broadcom NS2 BCM958712K reference board. Repo: https://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v5 Ravit

[RESEND PATCH v5 1/3] dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy

2017-05-09 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[RESEND PATCH v5 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-05-09 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 + drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 595 +++ 3 files changed, 609 insertions(+) create mode 1

[PATCH v5 3/3] DT nodes for Broadcom Northstar2 USB DRD Phy

2017-04-12 Thread Raviteja Garimella
This patch adds device tree nodes for USB Dual Role Device Phy for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v5 1/3] dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy

2017-04-12 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v5 2/3] phy:phy-bcm-ns2-usbdrd:Broadcom USB DRD Phy driver for Northstar2

2017-04-12 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 + drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 595 +++ 3 files changed, 609 insertions(+) create mode 1

[PATCH v5 0/3] Support for USB DRD Phy driver for NS2

2017-04-12 Thread Raviteja Garimella
ins changes to Kconfig, Makefile, and Device tree files. This patchset is tested on Broadcom NS2 BCM958712K reference board. Repo: https://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v5 Raviteja Garimella (3): dt-bindings:phy:Add DT bindings documentation for NS2 USB DRD phy phy:

Re: [PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-04-11 Thread Raviteja Garimella
Hi, On Mon, Apr 10, 2017 at 2:07 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 05 April 2017 07:40 PM, Raviteja Garimella wrote: >> Hi Kishon, >> >> On Wed, Apr 5, 2017 at 7:04 PM, Kishon Vijay Abraham I wrote: >>> Hi Ravi, >>> >

Re: [PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-04-10 Thread Raviteja Garimella
Hi On Mon, Apr 10, 2017 at 1:57 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 10 April 2017 12:57 PM, Raviteja Garimella wrote: >> Hi, >> >> On Mon, Apr 10, 2017 at 10:55 AM, Kishon Vijay Abraham I >> wrote: >>> Hi, >>> >>> O

Re: [PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-04-10 Thread Raviteja Garimella
Hi, On Mon, Apr 10, 2017 at 10:55 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 05 April 2017 07:40 PM, Raviteja Garimella wrote: >> Hi Kishon, >> >> On Wed, Apr 5, 2017 at 7:04 PM, Kishon Vijay Abraham I wrote: >>> Hi Ravi, >>> >

Re: [PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-04-05 Thread Raviteja Garimella
Hi Kishon, On Wed, Apr 5, 2017 at 7:04 PM, Kishon Vijay Abraham I wrote: > Hi Ravi, > > On Wednesday 05 April 2017 06:30 PM, Raviteja Garimella wrote: >> Hi Kishon, >> >> On Wed, Apr 5, 2017 at 4:30 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> &g

Re: [PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-04-05 Thread Raviteja Garimella
Hi Kishon, On Wed, Apr 5, 2017 at 4:30 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 28 March 2017 05:57 PM, Raviteja Garimella wrote: >> This is driver for USB DRD Phy used in Broadcom's Northstar2 >> SoC. The phy can be configured to be in Device mode or Host

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

2017-03-31 Thread Raviteja Garimella
PCI. More description about the Synopsys IP is 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 b

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 wrote: > > Hi, > > Raviteja Garimella writes: > >> This patch renames the amd5536udc.c that has the core driver >> functionality of Synopsys UDC to snps_udc_core.c >> >> The symbols exported here

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

2017-03-31 Thread Raviteja Garimella
New 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 --- drivers/usb/gadget/udc/Kconfig | 16 +- drivers/usb/g

[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 --- Documentation/devicetree/bindings/usb/iproc-udc.txt | 21 +++

[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 --- drivers/usb/gadget/udc/snps_udc_core.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/udc

[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 --- drivers/usb/gadget/udc/amd5536udc.h | 4 +++- drivers/usb

[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 --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers

[PATCH v4 0/3] Support for USB DRD Phy driver for NS2

2017-03-28 Thread Raviteja Garimella
his patchset is tested on Broadcom NS2 BCM958712K reference board. Repo: https://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v4 Raviteja Garimella (3): Add DT bindings documentation for NS2 USB DRD phy Broadcom USB DRD Phy driver for Northstar2 DT nodes for Broadcom Northstar2 USB

[PATCH v4 1/3] Add DT bindings documentation for NS2 USB DRD phy

2017-03-28 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v4 3/3] DT nodes for Broadcom Northstar2 USB DRD Phy

2017-03-28 Thread Raviteja Garimella
This patch adds device tree nodes for USB Dual Role Device Phy for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-03-28 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 + drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 567 +++ 3 files changed, 581 insertions(+) create mode 1

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

2017-03-28 Thread Raviteja Garimella
New 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 --- drivers/usb/gadget/udc/Kconfig | 16 +- drivers/usb/g

[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 --- drivers/usb/gadget/udc/amd5536udc.h | 4 +++- drivers/usb

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

2017-03-28 Thread Raviteja Garimella
nfig 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: udc_snps_v3 Raviteja Garimella (7): UDC: Split the driver into amd (pci) and Synopsys core

[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 --- Documentation/devicetree/bindings/usb/iproc-udc.txt | 21 +++

[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 --- drivers/usb/gadget/udc/amd5536udc.h| 4 ++-- drivers/usb/gadget/udc/snps_udc_core.c | 8 2 files changed, 6 insertions(+), 6 deletions

[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 --- 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 | 36 + drivers/usb/gadget/udc

[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 --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers

[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 --- Documentation/devicetree/bindings/usb/iproc-udc.txt | 21 +++

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

2017-02-21 Thread Raviteja Garimella
New 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 --- drivers/usb/gadget/udc/Kconfig | 16 +- drivers/usb/g

[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 --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers

[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 --- drivers/usb/gadget/udc/amd5536udc.h | 4 +++- 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 --- 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 | 36 + drivers/usb/gadget/udc

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

2017-02-21 Thread Raviteja Garimella
s 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. Repo: https://github.com/Broadcom/arm64-linux.git Branch: snps_udc_v2 Raviteja Garimella (6): UDC:

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

[PATCH v3 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-01-30 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 + drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 576 +++ 3 files changed, 590 insertions(+) create mode 1

[PATCH v3 0/3] Support for USB DRD Phy driver for NS2

2017-01-30 Thread Raviteja Garimella
://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v3 Raviteja Garimella (3): Add DT bindings documentation for NS2 USB DRD phy Broadcom USB DRD Phy driver for Northstar2 DT nodes for Broadcom Northstar2 USB DRD Phy .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ arch/arm64/boot/dts

[PATCH v3 3/3] DT nodes for Broadcom Northstar2 USB DRD Phy

2017-01-30 Thread Raviteja Garimella
This patch adds device tree nodes for USB Dual Role Device Phy for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v3 1/3] Add DT bindings documentation for NS2 USB DRD phy

2017-01-30 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[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 --- drivers/usb/gadget/udc/amd5536udc.h | 4 +++- drivers/usb

[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 --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers

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

2017-01-30 Thread Raviteja Garimella
-by: Raviteja Garimella --- 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 | 36 + drivers/usb/gadget/udc

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

2017-01-30 Thread Raviteja Garimella
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 Raviteja Garimella (6): UDC: Split the driver into amd (pci) and Synopsys core IP driver U

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

2017-01-29 Thread Raviteja Garimella
New 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 --- drivers/usb/gadget/udc/Kconfig | 14 ++ drivers/usb/g

[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 --- .../bindings/usb/brcm,iproc-snps-udc.txt | 24

Re: [PATCH v2 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-01-27 Thread Raviteja Garimella
Hi Kishon, On Thu, Jan 26, 2017 at 9:13 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 18 January 2017 05:50 PM, Raviteja Garimella wrote: >> This is driver for USB DRD Phy used in Broadcom's Northstar2 >> SoC. The phy can be configured to be in Device mode or

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 wrote: > On 01/19/2017 02:44 AM, Raviteja Garimella wrote: >> Hi, >> >> On Thu, Jan 19, 2017 at 12:15 AM, Florian Fainelli >> wrote: >>> On 01/17/2017 12:05 AM, Raviteja Garimella 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 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. > > Bindings describe h/w, not dr

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 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 of >> the driver tasks l

[PATCH v2 1/3] Add DT bindings documentation for NS2 USB DRD phy

2017-01-18 Thread Raviteja Garimella
This patch adds documentation for NS2 DRD Phy driver DT bindings Signed-off-by: Raviteja Garimella Acked-by: Rob Herring --- .../devicetree/bindings/phy/brcm,ns2-drd-phy.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v2 3/3] DT nodes for Broadcom Northstar2 USB DRD Phy

2017-01-18 Thread Raviteja Garimella
This patch adds device tree nodes for USB Dual Role Device Phy for Broadcom's Northstar2 SoC. Signed-off-by: Raviteja Garimella --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64

[PATCH v2 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-01-18 Thread Raviteja Garimella
nnect states based on VBUS and ID interrupts. Signed-off-by: Raviteja Garimella --- drivers/phy/Kconfig | 13 + drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-ns2-usbdrd.c | 588 +++ 3 files changed, 602 insertions(+) create mode 1

[PATCH v2 0/3] Support for USB DRD Phy driver for NS2

2017-01-18 Thread Raviteja Garimella
SoC. Apart from the new phy driver, this patchset contains changes to Kconfig, Makefile, and Device tree files. This patchset is tested on Broadcom NS2 BCM958712K reference board. Repo: https://github.com/Broadcom/arm64-linux.git Branch: ns2_drdphy_v2 Raviteja Garimella (3): Add DT bindings

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

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

[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 --- .../devicetree/bindings/usb/snps,dw-ahb-udc.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation

[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 --- drivers/usb/gadget/udc/snps_udc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers

[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 --- drivers/usb/gadget/udc/amd5536udc.c| 1 + drivers/usb/gadget

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

2017-01-17 Thread Raviteja Garimella
e 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): UDC: Split the driver into amd (pci) and Synopsys core driver UDC: make debug prints compatible with both pci and platform devices

  1   2   >