[PATCH v3 00/13] OMAP4: Add modulemode support to hwmod framework

Benoit Cousson b-cousson at ti.com
Fri Jul 1 17:09:05 EDT 2011

Hi Paul,

Here is the series that finally add the management of the modulemode
directly from hwmod fmwk instead of using a fake clock node to represent
the IP.

This v2 update is fixing a couple of regressions I introduced in the first

A second series will clean most of the remaining data from the clock data
file. Before that I have to rebase Rajendra's series to control the
clockdomain from the hwmod framework, otherwise the modules will
not be enabled properly since their clockdomain will not be changed
to SW_SUP during enable.

The series is based on for_3.1/3_hwmod_fixes and tested
on OMAP4430 ES2.1 + SDP. It should not affect OMAP2 & 3, but some testing
are definitively needed.

The patches are available here:
git://gitorious.org/omap-pm/linux.git for_3.1/4_hwmod_modulemode


Change since v1: http://www.spinics.net/lists/linux-omap/msg53094.html
    - Change pr_warning to pr_debug to reduce verbosity
    - Fix hardreset APIs that were using mask instead of shift
    - Remove cdoffs addition with clkctrl_offs since the the cdoffs
      is already included in the register offset.

Change since v2:
    - Fix name in reset prm code

Benoit Cousson (13):
  OMAP4: hwmod data: Add clock domain attribute
  OMAP2+: hwmod: Init clkdm field at boot time
  OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros
  OMAP: hwmod: Wait the idle status to be disabled
  OMAP2+: hwmod: Replace clkdm access from main_clk using hwmod attribute
  OMAP4: hwmod: Replace RSTCTRL absolute address with offset macros
  OMAP4: prm: Replace warm reset API with the offset based version
  OMAP4: prm: Remove deprecated functions
  OMAP4: hwmod data: Align interconnect format with regular modules
  OMAP4: hwmod data: Add PRM context register offset
  OMAP4: hwmod data: Add modulemode entry in omap_hwmod structure
  OMAP4: cm: Add two new APIs for modulemode control
  OMAP4: hwmod: Introduce the module control in hwmod control

 arch/arm/mach-omap2/cm44xx.h                 |    3 +-
 arch/arm/mach-omap2/cminst44xx.c             |   86 +++++-
 arch/arm/mach-omap2/cminst44xx.h             |    8 +-
 arch/arm/mach-omap2/omap_hwmod.c             |  196 +++++++++--
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c   |  457 ++++++++++++++++++++------
 arch/arm/mach-omap2/prcm.c                   |    2 +-
 arch/arm/mach-omap2/prm44xx.c                |  145 +--------
 arch/arm/mach-omap2/prm44xx.h                |    6 -
 arch/arm/mach-omap2/prminst44xx.c            |  108 ++++++-
 arch/arm/mach-omap2/prminst44xx.h            |   12 +-
 arch/arm/plat-omap/include/plat/omap_hwmod.h |   14 +-
 11 files changed, 738 insertions(+), 299 deletions(-)

More information about the linux-arm-kernel mailing list