Skip to content

Device tree support for OMAP HS USB Host

Roger Quadros linux-arm-kernel linux-omap lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 10 repliesIn review
  2. v10 of 13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Addressed review comments, hopefully device tree parsing is more compliant and robust now.
- Added one new patch to fix omap-ehci module auto loading

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14usb: phy: nop: Add device tree support and binding informationDocumentation/devicetree/bindings/usb/usb-nop-xceiv.txt drivers/usb/otg/nop-usb-xceiv.c+62 -83 replies
2/14USB: phy: nop: Defer probe if device needs VCC/RESETdrivers/usb/otg/nop-usb-xceiv.c include/linux/usb/nop-usb-xceiv.h+15 -00 replies
3/14mfd: omap-usb-tll: move configuration code to omap_tll_init()drivers/mfd/omap-usb-host.c drivers/mfd/omap-usb-tll.c drivers/mfd/omap-usb.h+107 -1090 replies
4/14mfd: omap-usb-tll: Add device tree supportDocumentation/devicetree/bindings/mfd/omap-usb-tll.txt drivers/mfd/omap-usb-tll.c+26 -00 replies
5/14USB: ehci-omap: Get platform resources by index rather than by namedrivers/usb/host/ehci-omap.c+3 -40 replies
6/14USB: ohci-omap3: Get platform resources by index rather than by namedrivers/usb/host/ohci-omap3.c+2 -30 replies
7/14USB: ohci-omap3: Add device tree support and binding informationDocumentation/devicetree/bindings/usb/omap3-ohci.txt drivers/usb/host/ohci-omap3.c+36 -03 replies
8/14USB: ehci-omap: Add device tree support and binding informationDocumentation/devicetree/bindings/usb/omap-ehci.txt drivers/usb/host/ehci-omap.c+69 -11 reply
9/14mfd: omap-usb-host: Add device tree support and binding informationDocumentation/devicetree/bindings/mfd/omap-usb-host.txt drivers/mfd/omap-usb-host.c+234 -62 replies
10/14ARM: dts: OMAP4: Add HS USB Host IP nodesarch/arm/boot/dts/omap4.dtsi+30 -00 replies
11/14ARM: dts: omap4-panda: Add USB Host supportarch/arm/boot/dts/omap4-panda.dts+55 -00 replies
12/14ARM: dts: OMAP3: Add HS USB Host IP nodesarch/arm/boot/dts/omap3.dtsi+31 -00 replies
13/14ARM: dts: omap3-beagle: Add USB Host supportarch/arm/boot/dts/omap3-beagle.dts+71 -00 replies
14/14USB: ehci-omap: Fix autoloading of moduledrivers/usb/host/ehci-omap.c+2 -11 reply

Reviews trailers per patch

7 of 14 patches have a Reviewed-by or Acked-by.

PatchFelipe BalbiAlan Stern
1/14A-b
2/14A-b
3/14
4/14
5/14A-b
6/14A-b
7/14A-b
8/14A-b
9/14
10/14
11/14
12/14
13/14
14/14A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/14] Device tree support for OMAP HS USB Host

Hi,

This patchset adds device tree support for OMAP's High Speed USB Host subsystem. Board adaptation for Panda and Beagleboard is also provided.

Tested on Beagleboard.

Will not yet work on Pandaboard as PHY clock is not provided in device tree. We will need to address the PHY clock as per the discussion.
http://www.mail-archive.com/linux-omap at vger.kernel.org/msg84525.html

v2:
- Addressed review comments, hopefully device tree parsing is more compliant and robust now.
- Added one new patch to fix omap-ehci module auto loading

The following changes since commit 286752ff5401f4b1675c4c33d13252a96e66bcb3:

USB: ehci-omap: Select NOP USB transceiver driver (2013-02-07 17:00:54 +0200)

are available in the git repository at:
git at github.com:rogerq/linux.git usb-next-usbhost16-dt

Roger Quadros (14):
usb: phy: nop: Add device tree support and binding information
USB: phy: nop: Defer probe if device needs VCC/RESET
mfd: omap-usb-tll: move configuration code to omap_tll_init()
mfd: omap-usb-tll: Add device tree support
USB: ehci-omap: Get platform resources by index rather than by name
USB: ohci-omap3: Get platform resources by index rather than by name
USB: ohci-omap3: Add device tree support and binding information
USB: ehci-omap: Add device tree support and binding information
mfd: omap-usb-host: Add device tree support and binding information
ARM: dts: OMAP4: Add HS USB Host IP nodes
ARM: dts: omap4-panda: Add USB Host support
ARM: dts: OMAP3: Add HS USB Host IP nodes
ARM: dts: omap3-beagle: Add USB Host support
USB: ehci-omap: Fix autoloading of module

 .../devicetree/bindings/mfd/omap-usb-host.txt      |   80 ++++++++
 .../devicetree/bindings/mfd/omap-usb-tll.txt       |   17 ++
 .../devicetree/bindings/usb/omap-ehci.txt          |   34 +++
 .../devicetree/bindings/usb/omap3-ohci.txt         |   17 ++
 .../devicetree/bindings/usb/usb-nop-xceiv.txt      |   34 +++
 arch/arm/boot/dts/omap3-beagle.dts                 |   71 +++++++
 arch/arm/boot/dts/omap3.dtsi                       |   31 +++
 arch/arm/boot/dts/omap4-panda.dts                  |   55 +++++
 arch/arm/boot/dts/omap4.dtsi                       |   30 +++
 drivers/mfd/omap-usb-host.c                        |  167 +++++++++++++++-
 drivers/mfd/omap-usb-tll.c                         |  213 ++++++++++----------
 drivers/mfd/omap-usb.h                             |    5 +-
 drivers/usb/host/ehci-omap.c                       |   46 ++++-
 drivers/usb/host/ohci-omap3.c                      |   24 ++-
 drivers/usb/otg/nop-usb-xceiv.c                    |   47 ++++-
 include/linux/usb/nop-usb-xceiv.h                  |    4 +
 16 files changed, 743 insertions(+), 132 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/omap-usb-host.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/omap-usb-tll.txt
 create mode 100644 Documentation/devicetree/bindings/usb/omap-ehci.txt
 create mode 100644 Documentation/devicetree/bindings/usb/omap3-ohci.txt
 create mode 100644 Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
Signature · 1 line
1.7.4.1