Re: Shared regulator usage

From: Mark Brown
Date: Tue Nov 27 2012 - 06:32:14 EST


On Tue, Nov 27, 2012 at 04:45:29PM +0530, Anirudh Ghayal wrote:

> At 1.4Ghz the cpu-freq driver votes for 1.3v, then the CPR kicks in
> and recommends a voltage of 1.275v. Now a set_voltage with this new
> level (1.275v, 1.275) fails as it does not satisfy the limits of
> the cpu-freq driver. It is not possible to tweak this range any
> further as it would not achieve the goal of micro-adjusting the
> voltage to save power.

> Such scenarios are very likely to occur in the future on embedded
> systems where there is a need to conserve power by introducing some
> adaptive voltage scaling techniques based on various parameters such
> as temperature/sensitivity.

This just sounds like bad software design. You've got two unrelated
drivers setting the same thing without talking to each other even though
the one is trying to adjust the voltage set by the other without
actually knowing the voltage that the other one set. Why are these
separate drivers?

Attachment: signature.asc
Description: Digital signature