[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 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 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 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 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 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 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 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/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 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/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 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 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 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 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 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 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 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 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