[PATCH] dwc3: gadget: fix for no-resource condition in dwc3 device controller

2016-01-27 Thread Ravi Babu
multiple interfaces in composite gadget scenario. The issue is reproducible in composite gadget (ACM + NCM) enabled through CONFIGFS. Signed-off-by: Ravi Babu --- drivers/usb/dwc3/ep0.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 3a93

[PATCH v2 0/7] adding dual instance and usb-phy support for am335x platform

2013-06-11 Thread Ravi Babu
] git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git changes from v1: - includes sergei's & felipe comments - retain the nop-phy driver API usage for non-DT davinci & other musb platform Ravi Babu (7): usb: musb: dsps: enable dual instance support for am3

[PATCH v2 5/7] usb: musb: dsps: use get-usb-phy by phandle for multi instance

2013-06-11 Thread Ravi Babu
In case of mutli instance support, use get-phy object using phandle to return to repsective phy xceiv object for each instance Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b

[PATCH v2 1/7] usb: musb: dsps: enable dual instance support for am33xx platform

2013-06-11 Thread Ravi Babu
The dsps am33xx platform has two instances of musb controller, enable the support for dual musb instances Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb

[PATCH v2 2/7] usb: phy: dsps: adding usbphy driver for am33xx platform

2013-06-11 Thread Ravi Babu
Adds usb-phy driver support for am33xx platform, the host/device peripheral controller shall get this phy object to control the phy operations. Signed-off-by: Ravi Babu --- drivers/usb/phy/Kconfig|9 ++ drivers/usb/phy/Makefile |1 + drivers/usb/phy/phy-dsps-usb.c | 236

[PATCH v2 4/7] usb: musb: dsps: use usb-phy driver API for phy power on/off

2013-06-11 Thread Ravi Babu
use usb-phy driver API for powering on/off phy and removed usage of the phy control access in platform glue driver. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/usb/musb

[PATCH v2 6/7] usb: phy: dts: Adding usbphy DT bindings for am33xx

2013-06-11 Thread Ravi Babu
The am33xx platforms suppors dual musb instance which need two instances of usb-phy. Add dual instance usb-phy DT bindings for am333x platform. Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a

[PATCH v2 7/7] usb: musb: dsp: remove the usb-phy control acess from platform glue

2013-06-11 Thread Ravi Babu
Remove usb-phy control access from platform glue, after moving usb-phy controls to saperate phy-dsps-usb driver. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 51 -- 1 files changed, 0 insertions(+), 51 deletions(-) diff --git a/drivers

[PATCH v2 3/7] usb: musb: dsps: remove nop_xceiv_(un)register APIs from dsps glue

2013-06-11 Thread Ravi Babu
removed nop xceiv (un_)register API's references from musb dsps platform, as it uses saperate phy driver. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb

[PATCH v1 3/3] usb: musb: dsps: handle babble condition for dsps platform

2013-05-29 Thread Ravi Babu
Adding babble recovery mechanism for dsps platform and as part of babble recovery the controller will be restarted. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 34 +- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/drivers/usb

[PATCH v1 1/3] usb: musb: core: added musb_restart() API to handle babble condition

2013-05-29 Thread Ravi Babu
controller. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_core.c | 24 drivers/usb/musb/musb_core.h |1 + 2 files changed, 25 insertions(+), 0 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 37a261a..ab6fa39 100644

[PATCH v1 2/3] usb: musb: core: added babble recovery func-ptr to musb->ops

2013-05-29 Thread Ravi Babu
Adding babble_recovery operation as part of musb->ops, used to recover from babble condition during babble interrupt. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_core.c |6 ++ drivers/usb/musb/musb_core.h |7 +++ 2 files changed, 13 insertions(+), 0 deletions(-) d

[PATCH v1 0/3] babble error workaround for am335x platform

2013-05-29 Thread Ravi Babu
mechanism, this can be extended to other musb platforms. This patch has been verified on tree [1] and tested on am335x platforms. [1] git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git Ravi Babu (3): usb: musb: core: added musb_restart() API to handle babble condition usb: musb: core

[PATCH v1 2/9] usb: musb: nop: remove unused nop_xceiv_(un)register APIs from glue

2013-05-22 Thread Ravi Babu
removed unused nop xceiv (un_)register API's from all musb platform drivers Signed-off-by: Ravi Babu --- drivers/usb/musb/am35x.c |2 -- drivers/usb/musb/blackfin.c |2 -- drivers/usb/musb/da8xx.c |2 -- drivers/usb/musb/davinci.c |3 --- drivers/usb/musb/musb_d

[PATCH v1 0/9] adding dual instance and usb-phy support for am335x platform

2013-05-22 Thread Ravi Babu
] git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git Ravi Babu (9): usb: musb: dsps: enable dual instance support for am33xx platform usb: musb: nop: remove unused nop_xceiv_(un)register APIs from glue arch: arm: omap3: remove unused usb_nop_xceive register API's usb: phy: nop: remov

[PATCH v1 4/9] usb: phy: nop: removing unused usb_nop_xceiv_(un_)register API

2013-05-22 Thread Ravi Babu
remove the unused the usb_nop_xceiv_register & _unregister API's from phy-nop driver. The glue platform driver should use DT bindings use usb-nop-xceiv driver Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |1 - drivers/usb/phy/phy-nop.c

[PATCH v1 7/9] usb: musb: dsps: use get-usb-phy by phandle for multi instance

2013-05-22 Thread Ravi Babu
In case of mutli instance support, use get-phy object using phandle to return to repsective phy xceiv object for each instance Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b

[PATCH v1 8/9] usb: phy: dts: Adding usbphy DT bindings for am33xx

2013-05-22 Thread Ravi Babu
The am33xx platforms suppors dual musb instance which need two instances of usb-phy. Add dual instance usb-phy DT bindings for am333x platform. Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a

[PATCH v1 3/9] arch: arm: omap3: remove unused usb_nop_xceive register API's

2013-05-22 Thread Ravi Babu
Remove the unused usb_nop_xceiv register(_unregister) usage, it is recommeded to use DT bindings to use usb-nop-xceiv driver Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/board-omap3evm.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/board

[PATCH v1 6/9] usb: musb: dsps: use usb-phy driver API for phy power on/off

2013-05-22 Thread Ravi Babu
use usb-phy driver API for powering on/off phy and removed usage of the phy control access in platform glue driver. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/usb/musb

[PATCH v1 1/9] usb: musb: dsps: enable dual instance support for am33xx platform

2013-05-22 Thread Ravi Babu
The dsps am33xx platform has two instances of musb controller, enable the support for dual musb instances Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb

[PATCH v1 9/9] usb: musb: dsp: remove the usb-phy control acess from platform glue

2013-05-22 Thread Ravi Babu
Remove usb-phy control access from platform glue, after moving usb-phy controls to saperate phy-dsps-usb driver. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 51 -- 1 files changed, 0 insertions(+), 51 deletions(-) diff --git a/drivers

[PATCH v1 5/9] usb: phy: dsps: adding usbphy driver for am33xx platform

2013-05-22 Thread Ravi Babu
Adds usb-phy driver support for am33xx platform, the host/device peripheral controller shall get this phy object to control the phy operations. Signed-off-by: Ravi Babu --- drivers/usb/phy/Kconfig|9 ++ drivers/usb/phy/Makefile |1 + drivers/usb/phy/phy-dsps-usb.c | 236

[PATCH 2/2] usb: musb: gadget: read ep0 fifo only if rxcount is non zero

2013-04-02 Thread Ravi Babu
avoid reading fifo rxcount is zero of fifo is empty, hence read fifo only if rxcount is non-zero Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_gadget_ep0.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_gadget_ep0.c b/drivers/usb/musb

[PATCH 1/2] usb: musb: dsps: print babble message only when musb is active host

2013-04-02 Thread Ravi Babu
The musb controller uses single bit defintion for both reset and babble events. The babble event is valid only when controller is active a-host, and hence print the babble message only when the controller is active a-host. Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |2 +- 1

[PATCH v10 3/5] usb: musb: am335x: add support for dual instance

2012-09-11 Thread Ravi Babu
-by: Ravi Babu Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar [af...@ti.com: remove control module related modifications] Signed-off-by: Afzal Mohammed Signed-off-by: Felipe Balbi --- drivers/usb/musb/musb_dsps.c | 81 + 1 files

[PATCH v10 4/5] usb: musb: dsps: add dt support

2012-09-11 Thread Ravi Babu
From: Ajay Kumar Gupta Added device tree support for dsps musb glue driver and updated the Documentation with device tree binding information. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu [af...@ti.com: use '-' instead of '_

[PATCH v10 1/5] usb: musb: add musb_ida for multi instance support

2012-09-11 Thread Ravi Babu
From: B, Ravi Added musb_ida in musb_core.c to manage the multi core ids. Signed-off-by: Ravi Babu Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Felipe Balbi --- drivers/usb/musb/am35x.c | 42 -- drivers/usb

[PATCH v10 0/5] usb: musb: adding multi instance support

2012-09-11 Thread Ravi Babu
This series of patches adds multi instances support in musb driver AM33xx and TI81xx has dual musb controller and has two usb PHY of same type. The series applies to felipe/musb branch + Vaibhav baseport patches on his tree at [4] + Kishon's multi phy patches on Felipe's branch 'x

[PATCH v10 5/5] usb: musb: dsps: remove explicit NOP device creation

2012-09-11 Thread Ravi Babu
From: Ajay Kumar Gupta As NOP device node is now added in am33xx tree so remove the call which creates the NOP platform_device. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu Signed-off-by: Felipe Balbi --- drivers/usb/musb/musb_dsps.c |3

[PATCH v10 2/5] usb: musb: kill global and static for multi instance

2012-09-11 Thread Ravi Babu
d the dev->dma_mask with parent device's dma_mask. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu Signed-off-by: Felipe Balbi --- drivers/usb/musb/musb_core.c| 22 +++--- drivers/usb/musb/musb_core.h|4 dr

[PATCH v9 13/13] usb: otg: nop: add dt support

2012-08-31 Thread Ravi Babu
Added device tree support for nop transceiver driver and updated the Documentation with device tree binding information for am33xx platform. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- .../devicetree/bindings/usb/am33xx-usb.txt |3 +++ drivers/usb/otg/nop-usb

[PATCH v9 07/13] usb: musb: dsps: add dt support

2012-08-31 Thread Ravi Babu
From: Ajay Kumar Gupta Added device tree support for dsps musb glue driver and updated the Documentation with device tree binding information. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- .../devicetree/bindings/usb/am33xx-usb.txt

[PATCH v9 12/13] arm/dts: am33xx: add phy phandle to usbss

2012-08-31 Thread Ravi Babu
From: Ajay Kumar Gupta Added NOP PHY phandle to usbss device node as same will be used to get the phy from otg framework. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi |2 ++ 1 files changed, 2 insertions

[PATCH v9 09/13] arm/dts: am33xx: add dt data for usb nop phy

2012-08-31 Thread Ravi Babu
From: Ajay Kumar Gupta AM33xx has two musb controller and they have one NOP PHY each. Added the device tree data for NOP PHY. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi |8 1 files changed, 8

[PATCH v9 00/13] usb: musb: adding multi instance support

2012-08-31 Thread Ravi Babu
Changes from v1: - Defined musb_ida to manage core ids based on Felipe's comment in [PATCH 01/11] Ajay Kumar Gupta (7): usb: musb: dsps: enable phy control for am335x usb: musb: kill global and static for multi instance usb: musb: dsps: add dt support arm/dts: am3

[PATCH v9 01/13] usb: musb: dsps: add phy control logic to glue

2012-08-31 Thread Ravi Babu
-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/board-ti8168evm.c |1 - arch/arm/mach-omap2/omap_phy_internal.c | 35 arch/arm/plat-omap/include/plat/usb.h |5 +- drivers/usb/musb/musb_dsps.c| 87

[PATCH v9 06/13] usb: otg: nop: add support for multiple tranceiver

2012-08-31 Thread Ravi Babu
Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/am35x.c |2 +- drivers/usb/musb/blackfin.c |2 +- drivers/usb/musb/da8xx.c |2 +- drivers/usb/musb/davinci.c|4 +- drivers/usb/musb/musb_dsps.c |8

[PATCH v9 03/13] usb: musb: add musb_ida for multi instance support

2012-08-31 Thread Ravi Babu
Added musb_ida in musb_core.c to manage the multi core ids. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/am35x.c | 42 -- drivers/usb/musb/blackfin.c | 26

[PATCH v9 05/13] usb: musb: am335x: add support for dual instance

2012-08-31 Thread Ravi Babu
Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 112 +- 1 files changed, 66 insertions(+), 46 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 36130ba

[PATCH v9 10/13] usb: musb: dsps: remove explicit NOP device creation

2012-08-31 Thread Ravi Babu
From: Ajay Kumar Gupta As NOP device node is now added in am33xx tree so remove the call which creates the NOP platform_device. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |3 +-- 1 files changed, 1

[PATCH v9 04/13] usb: musb: kill global and static for multi instance

2012-08-31 Thread Ravi Babu
d the dev->dma_mask with parent device's dma_mask. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_core.c| 22 +++--- drivers/usb/musb/musb_core.h|4 drivers/usb/musb/musb_debugfs.c

[PATCH v9 02/13] usb: musb: dsps: enable phy control for am335x

2012-08-31 Thread Ravi Babu
From: Ajay Kumar Gupta Enabled the phy control logic for am335x also based on usbss revision register. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/plat-omap/include/plat/usb.h |1 + drivers/usb/musb/musb_dsps.c | 17

[PATCH v9 08/13] arm/dts: am33xx: Add dt data for usbss

2012-08-31 Thread Ravi Babu
From: Ajay Kumar Gupta Added device tree data for usbss on am33xx. There are two musb controllers on am33xx platform so have port0_mode and port1_mode additional data. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/boot/dts

[PATCH v9 11/13] usb: musb: dsps: get the PHY using phandle api

2012-08-31 Thread Ravi Babu
From: Santhapuri, Damodar AM33xx has two PHY of same type used by each musb controller so use phandle of phy nodes to get the phy pointer. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- .../devicetree/bindings/usb/am33xx-usb.txt

[PATCH v8 12/13] arm/dts: am33xx: add phy phandle to usbss

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta Added NOP PHY phandle to usbss device node as same will be used to get the phy from otg framework. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi |2 ++ 1

[PATCH v8 06/13] usb: otg: nop: add support for multiple tranceiver

2012-08-30 Thread Ravi Babu
Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/am35x.c |2 +- drivers/usb/musb/blackfin.c |2 +- drivers/usb/musb/da8xx.c |2 +- drivers/usb/musb/davinci.c|4 +- drivers/usb/musb

[PATCH v8 09/13] arm/dts: am33xx: add dt data for usb nop phy

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta AM33xx has two musb controller and they have one NOP PHY each. Added the device tree data for NOP PHY. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi |8

[PATCH v8 11/13] usb: musb: dsps: get the PHY using phandle api

2012-08-30 Thread Ravi Babu
From: Santhapuri, Damodar AM33xx has two PHY of same type used by each musb controller so use phandle of phy nodes to get the phy pointer. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- .../devicetree/bindings/usb

[PATCH v8 03/13] usb: musb: add musb_ida for multi instance support

2012-08-30 Thread Ravi Babu
Added musb_ida in musb_core.c to manage the multi core ids. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/am35x.c | 42 -- drivers/usb/musb/blackfin.c

[PATCH v8 10/13] usb: musb: dsps: remove explicit NOP device creation

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta As NOP device node is now added in am33xx tree so remove the call which creates the NOP platform_device. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |3

[PATCH v8 08/13] arm/dts: am33xx: Add dt data for usbss

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta Added device tree data for usbss on am33xx. There are two musb controllers on am33xx platform so have port0_mode and port1_mode additional data. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu

[PATCH v8 02/13] usb: musb: dsps: enable phy control for am335x

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta Enabled the phy control logic for am335x also based on usbss revision register. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/plat-omap/include/plat/usb.h |1 + drivers/usb/musb/musb_dsps.c | 17

[PATCH v8 00/13] usb: musb: adding multi instance support

2012-08-30 Thread Ravi Babu
musb: dsps: enable phy control for am335x usb: musb: kill global and static for multi instance usb: musb: dsps: add dt support arm/dts: am33xx: Add dt data for usbss arm/dts: am33xx: add dt data for usb nop phy usb: musb: dsps: remove explicit NOP device creation arm/dts: am33xx: add phy

[PATCH v8 01/13] usb: musb: dsps: add phy control logic to glue

2012-08-30 Thread Ravi Babu
-by: Ajay Kumar Gupta Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/board-ti8168evm.c |1 - arch/arm/mach-omap2/omap_phy_internal.c | 35 arch/arm/plat-omap/include/plat/usb.h |5 +- drivers/usb/musb/musb_dsps.c| 87

[PATCH v8 04/13] usb: musb: kill global and static for multi instance

2012-08-30 Thread Ravi Babu
d the dev->dma_mask with parent device's dma_mask. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_core.c| 22 +++--- drivers/usb/musb/musb_core.h|4 drivers/

[PATCH v8 05/13] usb: musb: am335x: add support for dual instance

2012-08-30 Thread Ravi Babu
Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 112 +- 1 files changed, 66 insertions(+), 46 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb

[PATCH v8 07/13] usb: musb: dsps: add dt support

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta Added device tree support for dsps musb glue driver and updated the Documentation with device tree binding information. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu Signed-off-by: Santhapuri, Damodar Signed-off-by: Ravi Babu --- .../devicetree/bindings

[PATCH v8 13/13] usb: otg: nop: add dt support

2012-08-30 Thread Ravi Babu
Added device tree support for nop transceiver driver and updated the Documentation with device tree binding information for am33xx platform. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- .../devicetree/bindings/usb/am33xx-usb.txt |3 +++ drivers/usb/otg/nop-usb

[PATCH v7 04/11] usb: otg: nop: add support for multiple tranceiver

2012-08-02 Thread Ravi Babu
Gupta Signed-off-by: Ravi Babu --- drivers/usb/musb/am35x.c|2 +- drivers/usb/musb/blackfin.c |2 +- drivers/usb/musb/da8xx.c|2 +- drivers/usb/musb/davinci.c |4 +- drivers/usb/musb/musb_dsps.c|8 +++--- drivers/usb/musb/tusb6010.c |4

[PATCH v7 07/11] usb: otg: nop: add dt support

2012-08-02 Thread Ravi Babu
From: Ajay Kumar Gupta Added device tree support for nop transceiver driver and updated the Documentation with device tree binding information for am33xx platform. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- .../devicetree/bindings/usb/am33xx-usb.txt |3

[PATCH v7 01/11] usb: musb: add musb_ida for multi instance support

2012-08-02 Thread Ravi Babu
From: Ajay Kumar Gupta Added musb_ida in musb_core.c to manage the multi core ids. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- drivers/usb/musb/am35x.c | 42 -- drivers/usb/musb/blackfin.c | 26

[PATCH v7 03/11] usb: musb: am335x: add support for dual instance

2012-08-02 Thread Ravi Babu
Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 113 +- 1 files changed, 67 insertions(+), 46 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 2174699..7a09d55 100644

[PATCH v7 09/11] usb: musb: dsps: remove explicit NOP device creation

2012-08-02 Thread Ravi Babu
From: Ajay Kumar Gupta As NOP device node is now added in am33xx tree so remove the call which creates the NOP platform_device. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a

[PATCH v7 06/11] arm/dts: am33xx: Add dt data for usbss

2012-08-02 Thread Ravi Babu
From: Ajay Kumar Gupta Added device tree data for usbss on am33xx. There are two musb controllers on am33xx platform so have port0_mode and port1_mode additional data. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi | 11 +++ 1 files

[PATCH v7 05/11] usb: musb: dsps: add dt support

2012-08-02 Thread Ravi Babu
From: Ajay Kumar Gupta Added device tree support for dsps musb glue driver and updated the Documentation with device tree binding information. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- .../devicetree/bindings/usb/am33xx-usb.txt | 14 + drivers/usb/musb

[PATCH v7 11/11] arm/dts: am33xx: add phy phandle to usbss

2012-08-02 Thread Ravi Babu
From: Ajay Kumar Gupta Added NOP PHY phandle to usbss device node as same will be used to get the phy from otg framework. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH v7 10/11] usb: musb: dsps: get the PHY using phandle api

2012-08-02 Thread Ravi Babu
AM33xx has two PHY of same type used by each musb controller so use phandle of phy nodes to get the phy pointer. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- .../devicetree/bindings/usb/am33xx-usb.txt |2 ++ drivers/usb/musb/musb_dsps.c |5

[PATCH v7 08/11] arm/dts: am33xx: add dt data for usb nop phy

2012-08-02 Thread Ravi Babu
From: Ajay Kumar Gupta AM33xx has two musb controller and they have one NOP PHY each. Added the device tree data for NOP PHY. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- arch/arm/boot/dts/am33xx.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff

[PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-02 Thread Ravi Babu
d support for dual instance usb: otg: nop: add support for multiple tranceiver usb: musb: dsps: add dt support arm/dts: am33xx: Add dt data for usbss usb: otg: nop: add dt support arm/dts: am33xx: add dt data for usb nop phy usb: musb: dsps: remove explicit NOP device creation arm/dts:

[PATCH v7 02/11] usb: musb: kill global and static for multi instance

2012-08-02 Thread Ravi Babu
d the dev->dma_mask with parent device's dma_mask. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_core.c| 22 +++--- drivers/usb/musb/musb_core.h|4 drivers/usb/musb/musb_debugfs.c |8 +++- 3 files changed,

[PATCH] usb: storage: stop all current urbs when device is disconnected

2012-08-01 Thread Ravi Babu
submitted to hcd once the device is disconnected and no longer exits. Signed-off-by: Ravi Babu --- drivers/usb/storage/usb.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index e23c30a..a313af6 100644 --- a/drivers