Skip to contentSkip to conversation

ARM: OMAP4: Add PMU Support

PATCH Superseded Jon Hunter 2 participants 2 messages May 9, 2012 – May 10, 2012

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Jon Hunter

author
#0 lore raw

cover ARM: OMAP4: Add PMU Support

From: Jon Hunter <[email protected]>

This series adds PMU support for OMAP4 devices. This is based upon Will Deacons series [1]. This series attempts to fix the management of the EMU power domain so that PMU can be enabled at runtime and low-power states are not prevented when PMU is not in-use. The fix is based upon inputs from Benoit, Paul and Kevin [2].

This series is based upon the latest linux-omap master branch from Tony and has been tested on a OMAP4460 panda.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git perf/omap4
[2] http://marc.info/?l=oprofile-list&m=133657425417229&w=3

Jon Hunter (4):
Re-map the CTIs IRQs from MPU to DEBUGSS
ARM: OMAP4: PMU: Add runtime PM support
ARM: OMAP4: CLKDM: Update supported transition modes
ARM: OMAP4: Prevent EMU power domain transitioning to OFF when in-use

Ming Lei (2):
arm: omap4: create pmu device via hwmod
arm: omap4: support pmu

 arch/arm/mach-omap2/clockdomain44xx.c       |    7 +-
 arch/arm/mach-omap2/clockdomains44xx_data.c |    2 +-
 arch/arm/mach-omap2/cminst44xx.c            |   14 ---
 arch/arm/mach-omap2/devices.c               |  123 ++++++++++++++++++++++++++-
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c  |    9 ++-
 arch/arm/plat-omap/include/plat/omap44xx.h  |    3 +
 6 files changed, 135 insertions(+), 23 deletions(-)
Signature · 1 line
1.7.5.4
#1 lore raw

Jon,

Quoted 11 lines · Jon Hunter

From: Jon Hunter <[email protected]>

This series adds PMU support for OMAP4 devices. This is based upon Will Deacons series [1]. This series attempts to fix the management of the EMU power domain so that PMU can be enabled at runtime and low-power states are not prevented when PMU is not in-use. The fix is based upon inputs from Benoit, Paul and Kevin [2].

This series is based upon the latest linux-omap master branch from Tony and has been tested on a OMAP4460 panda.

OMAP4460/70 devices too have dependency on the EMU domain so even though there is a possibility to route PMU IRQ events bypassing the CTI, we will still have
the same issue. So the fix is needed for all OMAP4 devices.

In OMAP5+ devices, PMU dependency with EMU domain is completely removed.

Regards
Santosh