Thread (5 messages) 5 messages, 4 authors, 2012-10-08
STALE4999d REVIEWED: 1 (0M)

[PATCH] ARM: OMAP: convert I2C driver to PM QoS for MPU latency constraints

From: Shubhrajyoti Datta <hidden>
Date: 2012-09-21 06:20:52
Also in: linux-i2c, linux-omap

On Thu, Sep 20, 2012 at 9:38 PM, Jean Pihet [off-list ref] wrote:
Convert the driver from the outdated omap_pm_set_max_mpu_wakeup_lat
API to the new PM QoS API.
Since the constraint is on the MPU subsystem, use the PM_QOS_CPU_DMA_LATENCY
class of PM QoS. The resulting MPU constraints are used by cpuidle to
decide the next power state of the MPU subsystem.

The I2C device latency timing is derived from the FIFO size and the
clock speed and so is applicable to all OMAP SoCs.
Agree thanks for doing that.
Signed-off-by: Jean Pihet <redacted>
---
Rebased on git://git.pengutronix.de/git/wsa/linux.git, branch
i2c-embedded/for-next
thanks ,
tested with i2c tools  on omap4sdp and omap3sdp

Acked-by: Shubhrajyoti D <redacted>
---
 arch/arm/plat-omap/i2c.c      |   21 ---------------------
 drivers/i2c/busses/i2c-omap.c |   32 ++++++++++++++++++--------------
 include/linux/i2c-omap.h      |    1 -
 3 files changed, 18 insertions(+), 36 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help