Skip to content

OMAP: hwmod core fix and cleanup for 2.6.38

Benoit Cousson linux-arm-kernel linux-omap 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

http://www.spinics.net/lists/linux-omap/msg40580.html:
- Add SIDLE_SMART_WKUP flag support for OMAP4

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6OMAP2+: hwmod: Make omap_hwmod_register private and remove omap_hwmod_unregisterarch/arm/mach-omap2/omap_hwmod.c arch/arm/plat-omap/include/plat/omap_hwmod.h+55 -840 replies
2/6OMAP2+: hwmod: Mark functions used only during initialization with __initarch/arm/mach-omap2/omap_hwmod.c+4 -40 replies
3/6OMAP2+: hwmod: Remove omap_hwmod_mutexarch/arm/mach-omap2/omap_hwmod.c+4 -220 replies
4/6OMAP2+: hwmod: Disable clocks when hwmod enable failsarch/arm/mach-omap2/omap_hwmod.c+1 -00 replies
5/6OMAP2+: hwmod: Add wakeup support for new OMAP4 IPsarch/arm/mach-omap2/omap_hwmod.c arch/arm/plat-omap/include/plat/omap_hwmod.h+18 -30 replies
6/6OMAP4: hwmod data: Add SIDLE_SMART_WKUP modes to several IPsarch/arm/mach-omap2/omap_hwmod_44xx_data.c+8 -40 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchSebastien Guiriec
1/6
2/6
3/6
4/6
5/6T-b
6/6

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 0/6] OMAP: hwmod core fix and cleanup for 2.6.38

Hi Paul,

Here is a small series that just remove the omap_hwmod_mutex and move functions not needed at runtime to the __init section.

It fix as well a bug discovered during the on-going hwmod migration of device that does have a functional clock external (mcpdm).

It extends as well the fix Kevin did for wakeup for OMAP4 IP with smart idle with wakeup support.

The series is based on my for_2.6.38/hwmod_data branch and is available
here: git://gitorious.org/omap-pm/linux.git for_2.6.38/hwmod

Tested on sdp4430 ES2.0 with omap2plus_defconfig.
It still requires some test on OMAP3 and OMAP2.

Thanks to Seb Guiriec for testing the SIDLE_SMART_WKUP fix.

Regards,
Benoit

Changes since v1:
http://www.spinics.net/lists/linux-omap/msg40580.html:
- Add SIDLE_SMART_WKUP flag support for OMAP4

Benoit Cousson (5):
OMAP2+: hwmod: Make omap_hwmod_register private and remove omap_hwmod_unregister OMAP2+: hwmod: Mark functions used only during initialization with __init OMAP2+: hwmod: Remove omap_hwmod_mutex
OMAP2+: hwmod: Add wakeup support for new OMAP4 IPs
OMAP4: hwmod data: Add SIDLE_SMART_WKUP modes to several IPs

Rajendra Nayak (1):
OMAP2+: hwmod: Disable clocks when hwmod enable fails

 arch/arm/mach-omap2/omap_hwmod.c             |  172 +++++++++++---------------
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c   |   12 ++-
 arch/arm/plat-omap/include/plat/omap_hwmod.h |    7 +-
 3 files changed, 82 insertions(+), 109 deletions(-)