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
] 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
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
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
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
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
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
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
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
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
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
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
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
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
] 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
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
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
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
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
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
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
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
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
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
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
-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
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 '_
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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,
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
72 matches
Mail list logo