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

Jean Pihet jean.pihet at newoldbits.com
Mon Oct 8 05:00:46 EDT 2012


On Sat, Oct 6, 2012 at 1:46 PM, Wolfram Sang <w.sang at pengutronix.de> wrote:
> On Thu, Sep 20, 2012 at 06:08:03PM +0200, Jean Pihet 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.
>>
>> Signed-off-by: Jean Pihet <j-pihet at ti.com>
>
> Applied to -next, thanks!
Thanks!

Jean
>
> --
> Pengutronix e.K.                           | Wolfram Sang                |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list