Re: [PATCH 1/9] ARM: OMAP3+: voltage: export functions to plat/voltage.h

From: Jean Pihet
Date: Wed Apr 18 2012 - 16:36:34 EST


Hi Kevin,

Adding Keerthy J

On Wed, Apr 18, 2012 at 7:27 PM, Kevin Hilman <khilman@xxxxxx> wrote:
> Hi Jean,
>
> jean.pihet@xxxxxxxxxxxxxx writes:
>
>> From: Jean Pihet <j-pihet@xxxxxx>
>>
>> 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@xxxxxx>
>> Cc: Kevin Hilman <khilman@xxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/