[PATCH 1/9] ARM: OMAP3+: voltage: export functions to plat/voltage.h
Jean Pihet
jean.pihet at newoldbits.com
Wed Apr 18 16:36:05 EDT 2012
Hi Kevin,
Adding Keerthy J
On Wed, Apr 18, 2012 at 7:27 PM, Kevin Hilman <khilman at ti.com> wrote:
> Hi Jean,
>
> jean.pihet at newoldbits.com writes:
>
>> From: Jean Pihet <j-pihet at ti.com>
>>
>> Move some functions from mach-omap2/ dir to the plat/ dir.
>> The SmartReflex class driver is a user of the basic voltage domains
>> functions (enable, disable, reset).
>>
>> Signed-off-by: Jean Pihet <j-pihet at ti.com>
>> Cc: Kevin Hilman <khilman at ti.com>
>
> Rather than expose the VP functions directly, how about adding a new API
> at the voltdm layer to start/stop AVS. Maybe something like:
>
> voltdm_avs_start(struct voltagedomain *voltdm)
> voltdm_avs_stop(struct voltagedomain *voltdm)
>
> These will internally just call VP enable/disable for now, but we may
> have more to add to these in the future to support other SR classes.
Agree.
That would be a first step in the definition of the API between SR and
VP. Implementing other SR classes might require more than that, this
is still under investigation for now.
>
> Kevin
>
Thanks for reviewing,
Jean
More information about the linux-arm-kernel
mailing list