Mike Turquette <mturquette@...> writes:
Dynamic voltage and frequency scaling (dvfs) is a common power saving technique in many of today's modern processors. This patch introduces a common clk rate-change notifier handler which scales voltage appropriately whenever clk_set_rate is called on an affected clock.
For DVFS to be useful, we might need to be notified on "clk_enable" and "clk_disable" since there are cases that driver will disable or enable clock directly but not calling clk_set_rate. Do you agree that notifier in common clock need to be improved?
There are three prerequisites to using this feature:
- the affected clocks must be using the common clk framework
- voltage must be scaled using the regulator framework
- clock frequency and regulator voltage values must be paired via the
OPP library