[PATCH] ARM: OMAP: convert I2C driver to PM QoS for MPU latency constraints
From: Jean Pihet <hidden>
Date: 2012-10-08 09:00:46
Also in:
linux-i2c, linux-omap
From: Jean Pihet <hidden>
Date: 2012-10-08 09:00:46
Also in:
linux-i2c, linux-omap
On Sat, Oct 6, 2012 at 1:46 PM, Wolfram Sang [off-list ref] wrote:
On Thu, Sep 20, 2012 at 06:08:03PM +0200, Jean Pihet wrote:quoted
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. Signed-off-by: Jean Pihet <redacted>Applied to -next, thanks!
Thanks! Jean
-- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |