Skip to content

OMAP USB Host cleanup

Roger Quadros linux-arm-kernel lkml stable 2 versions – Applied

Status from this message: Applied all 20 patches, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest20 patches 6 repliesApplied
  2. v81 of 22 patches 0 repliesSuperseded

Changes in v9 from the cover letter

- Addressed clock framework related comments from Russell King.
- Removed 2 clock data patches from the series as they will be taken care of by Paul Walmsey.

Patches in v9 Applied

#Subject and filesSizeRepliesApplied
1/20USB: ehci-omap: Don't free gpios that we didn't requestdrivers/usb/host/ehci-omap.c+0 -80 replies
2/20mfd: omap-usb-host: Consolidate OMAP USB-HS platform dataarch/arm/mach-omap2/board-3430sdp.c arch/arm/mach-omap2/board-3630sdp.c arch/arm/mach-omap2/board-am3517crane.c +19 more+61 -1252 replies
3/20mfd: omap-usb-tll: Fix channel count detectiondrivers/mfd/omap-usb-tll.c+11 -90 replies
4/20mfd: omap-usb-tll: Use devm_kzalloc/ioremap and clean up error pathdrivers/mfd/omap-usb-tll.c+12 -260 replies
5/20mfd: omap-usb-tll: Clean up clock handlingdrivers/mfd/omap-usb-tll.c+54 -330 replies
6/20mfd: omap-usb-tll: introduce and use mode_needs_tll()drivers/mfd/omap-usb-tll.c+12 -80 replies
7/20mfd: omap-usb-tll: Check for missing platform data in probedrivers/mfd/omap-usb-tll.c+5 -100 replies
8/20mfd: omap-usb-tll: Fix error messagedrivers/mfd/omap-usb-tll.c+12 -90 replies
9/20mfd: omap-usb-tll: serialize access to TLL devicedrivers/mfd/omap-usb-tll.c+27 -260 replies
10/20mfd: omap-usb-tll: Add OMAP5 revision and HSIC supportdrivers/mfd/omap-usb-tll.c+14 -00 replies
11/20mfd: omap_usb_host: Avoid missing platform data checks in suspend/resumedrivers/mfd/omap-usb-host.c+0 -100 replies
12/20mfd: omap-usb-host: Use devm_kzalloc() and devm_request_and_ioremap()drivers/mfd/omap-usb-host.c+11 -270 replies
13/20mfd: omap-usb-host: know about number of ports from revision registerdrivers/mfd/omap-usb-host.c+28 -50 replies
14/20mfd: omap-usb-host: override number of ports from platform datadrivers/mfd/omap-usb-host.c include/linux/platform_data/usb-omap.h+22 -130 replies
15/20mfd: omap-usb-host: cleanup clock management codedrivers/mfd/omap-usb-host.c+106 -800 replies
16/20mfd: omap-usb-host: Manage HSIC clocks for HSIC modedrivers/mfd/omap-usb-host.c+83 -140 replies
17/20mfd: omap-usb-host: Get rid of unnecessary spinlockdrivers/mfd/omap-usb-host.c+0 -160 replies
18/20mfd: omap-usb-host: clean up omap_usbhs_init()drivers/mfd/omap-usb-host.c+81 -480 replies
19/20mfd: omap-usb-host: Don't spam console on clk_set_parent failuredrivers/mfd/omap-usb-host.c+9 -90 replies
20/20mdf: omap-usb-host: get rid of build warningdrivers/mfd/omap-usb-host.c+1 -13 replies

Reviews trailers per patch

All 20 patches have a Reviewed-by or Acked-by.

PatchFelipe BalbiAlan SternRussell KingGreg Kroah-Hartman
1/20R-b A-b
2/20R-b A-b A-b
3/20R-b
4/20R-b
5/20R-b A-b
6/20R-b
7/20R-b
8/20R-b
9/20R-b
10/20R-b
11/20R-b
12/20R-b
13/20R-b
14/20R-b
15/20R-b
16/20R-b
17/20R-b
18/20R-b
19/20R-b
20/20R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v9 thread

Cover letter [PATCH v9 00/20] OMAP USB Host cleanup

Hi Samuel,

I think this series is in a pretty good shape to pull now :). I've added Reviewed-by and Acked-by tags. You can please pull from below.

NOTE: the first patch is a stable fix so Greg KH might want to pick it up for 3.8-rc.

The following changes since commit 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619:

Linux 3.8-rc4 (2013-01-17 19:25:45 -0800)

are available in the git repository at:
git://github.com/rogerq/linux.git linux-usbhost14-part

This patchset addresses the following

- Consolidate USB Host platform data.
- Avoid addressing clocks one by one by name and use a for loop + bunch of cleanups.
- Get number of channels/ports dynamically either from revision register or from platform data. Avoids getting clocks that are not present.
- Add OMAP5 and HSIC mode (Not tested).

v9:
- Addressed clock framework related comments from Russell King.
- Removed 2 clock data patches from the series as they will be taken care of by Paul Walmsey.

v8:
- Re-arranged patch "USB-ehci-omap-Don-t-free-gpios-that-we-didn-t-reques.patch" to be the first since it is a candidate for stable.
- Fixed issues raised by Felipe, i.e. indentation and use of switch ()

v7:
- Updated patch 4 to not hold a spinlock when using clk_get().
- Updated patches 3 and 11 to return -EADDRNOTAVAIL on failure of demv_request_and_ioremap().

v6:
- Added USB Host platform data consolidation patch as the first patch. based on request from Tony.
- Rebased on v3.8-rc3.

v5:
- Rebased on top of todays arm-soc/for-next.
- Removed the clock merging patch from the list.
- Updated patches 14, 19 and 20 to accomodate the above change.
- Added patch 22 to fix a build warning.

v4:
- Added appropriate maintainers in to/cc.
- minor print message fix in patch 23 to maintain consistency.

v3:
- Rebased on arm-soc/for-next commit f979306c4d38d213c6977aaf3b1115e8ded71e3a.
- Rearranged patch that get rids of cpu_is_omap..() macros.
- Coding style fixes.

v2:
- Clocks are allocated dynamically based on number of ports available on the platform.
- Reduced console spam if non critical clocks are not found on the platform.
- Get rid of cpu_is_.. macros from USB host driver.

cheers,
-roger

---
Roger Quadros (20):
USB: ehci-omap: Don't free gpios that we didn't request
mfd: omap-usb-host: Consolidate OMAP USB-HS platform data
mfd: omap-usb-tll: Fix channel count detection
mfd: omap-usb-tll: Use devm_kzalloc/ioremap and clean up error path
mfd: omap-usb-tll: Clean up clock handling
mfd: omap-usb-tll: introduce and use mode_needs_tll()
mfd: omap-usb-tll: Check for missing platform data in probe
mfd: omap-usb-tll: Fix error message
mfd: omap-usb-tll: serialize access to TLL device
mfd: omap-usb-tll: Add OMAP5 revision and HSIC support
mfd: omap_usb_host: Avoid missing platform data checks in suspend/resume
mfd: omap-usb-host: Use devm_kzalloc() and devm_request_and_ioremap()
mfd: omap-usb-host: know about number of ports from revision register
mfd: omap-usb-host: override number of ports from platform data
mfd: omap-usb-host: cleanup clock management code
mfd: omap-usb-host: Manage HSIC clocks for HSIC mode
mfd: omap-usb-host: Get rid of unnecessary spinlock
mfd: omap-usb-host: clean up omap_usbhs_init()
mfd: omap-usb-host: Don't spam console on clk_set_parent failure
mdf: omap-usb-host: get rid of build warning

 arch/arm/mach-omap2/board-3430sdp.c        |    2 +-
 arch/arm/mach-omap2/board-3630sdp.c        |    2 +-
 arch/arm/mach-omap2/board-am3517crane.c    |    2 +-
 arch/arm/mach-omap2/board-am3517evm.c      |    2 +-
 arch/arm/mach-omap2/board-cm-t35.c         |    2 +-
 arch/arm/mach-omap2/board-cm-t3517.c       |    2 +-
 arch/arm/mach-omap2/board-devkit8000.c     |    2 +-
 arch/arm/mach-omap2/board-igep0020.c       |    4 +-
 arch/arm/mach-omap2/board-omap3beagle.c    |    2 +-
 arch/arm/mach-omap2/board-omap3evm.c       |    2 +-
 arch/arm/mach-omap2/board-omap3pandora.c   |    2 +-
 arch/arm/mach-omap2/board-omap3stalker.c   |    2 +-
 arch/arm/mach-omap2/board-omap3touchbook.c |    2 +-
 arch/arm/mach-omap2/board-omap4panda.c     |    2 +-
 arch/arm/mach-omap2/board-overo.c          |    2 +-
 arch/arm/mach-omap2/board-zoom.c           |    2 +-
 arch/arm/mach-omap2/usb-host.c             |   29 +--
 arch/arm/mach-omap2/usb.h                  |   20 +-
 drivers/mfd/omap-usb-host.c                |  558 +++++++++++++++++-----------
 drivers/mfd/omap-usb-tll.c                 |  243 +++++++------
 drivers/usb/host/ehci-omap.c               |   14 +-
 include/linux/platform_data/usb-omap.h     |   24 +-
 22 files changed, 497 insertions(+), 425 deletions(-)
Signature · 1 line
1.7.4.1