[PATCH 1/8] OMAP PM: create a PM layer plugin for per-device constraints

Kevin Hilman khilman at ti.com
Wed May 4 10:36:58 EDT 2011


Tony,

Tony Lindgren <tony at atomide.com> writes:

> * jean.pihet at newoldbits.com <jean.pihet at newoldbits.com> [110504 06:32]:
>>
>> +int omap_pm_set_max_mpu_wakeup_lat(struct device *dev, long t)
> ...
>
>> +int omap_pm_set_max_dev_wakeup_lat(struct device *req_dev, struct device *dev,
> ...
>
>> +int omap_pm_set_min_clk_rate(struct device *dev, struct clk *c, long r)
> ...
>
> You should implement this as a Linux generic framework, we don't
> want to add more omap specific frameworks.

This series isn't adding any new OMAP-specific frameworks.  The OMAP PM
layer is already in place, and has been there for awhile.  OMAP PM is a
layer which can have "plugins" so we can experiment with ways of
handling constraints without changing the driver interface, and this
series is just implementing a new plugin.

Once we are happy with a constraint layer, and can prove it will work,
the plan is to get rid of the (existing) OMAP-specific APIs and propose
a generic interface.

Kevin



More information about the linux-arm-kernel mailing list