[PATCH 0/2] ARM: OMAP: PM: remove the latency related functions from the API

jean.pihet at newoldbits.com jean.pihet at newoldbits.com
Wed Apr 18 09:55:12 EDT 2012


From: Jean Pihet <j-pihet at ti.com>

Remove the following functions from the OMAP PM API and the callers
(currently only I2C driver):
 omap_pm_set_max_mpu_wakeup_lat
 omap_pm_set_max_dev_wakeup_lat
 omap_pm_set_max_sdma_lat
and updated the kernel Documentation accordingly.

The generic per-device PM QoS functions shall be used instead of the
OMAP PM API, cf. include/linux/pm_qos.h and
Documentation/power/pm_qos_interface.txt.

Based on the pm-qos branch of the linux-omap git tree (3.4.0-rc2) [1] with
the changes for the functional power states [2] and the per-device PM
QoS support for OMAP [3].

Tested cpuidle and suspend on OMAP3 Beagleboard (ES2.x) with constraints
on MPU, CORE, PER in RETention and OFF modes.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
[2] http://marc.info/?l=linux-omap&m=133475291911194&w=2
[3] http://marc.info/?l=linux-omap&m=133475685213067&w=2


Jean Pihet (2):
  ARM: OMAP: convert I2C driver to PM QoS for latency constraints
  ARM: OMAP: PM: remove the latency related functions from the API

 Documentation/arm/OMAP/omap_pm            |   68 ++++++--------------
 arch/arm/plat-omap/i2c.c                  |   21 ------
 arch/arm/plat-omap/include/plat/omap-pm.h |   99 -----------------------------
 arch/arm/plat-omap/omap-pm-noop.c         |   88 -------------------------
 drivers/i2c/busses/i2c-omap.c             |   28 +++++---
 include/linux/i2c-omap.h                  |    1 -
 6 files changed, 38 insertions(+), 267 deletions(-)

-- 
1.7.7.6




More information about the linux-arm-kernel mailing list