diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-07-09 19:45:10 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-07-16 16:58:36 +0400 |
commit | a509ea840b8e29e512764803e30b805c7ea89038 (patch) | |
tree | f5c0476fac91233184e88a3fb011047e55efa956 /drivers | |
parent | 831e2518890f5ffd52706750b1cbf04feb2e7c59 (diff) | |
download | linux-a509ea840b8e29e512764803e30b805c7ea89038.tar.xz |
ARM: mvebu: extend PMSU code to support dynamic frequency scaling
This commit adds the necessary code in the Marvell EBU PMSU driver to
support dynamic frequency scaling. In essence, what this new code does
is that it:
* registers the frequency operating points supported by the CPU;
* registers a clock notifier of the CPU clocks. The notifier function
listens to the newly introduced APPLY_RATE_CHANGE event, and uses
that to finalize the frequency transition by doing the part of the
procedure that involves the PMSU;
* registers a platform device for the cpufreq-generic driver, which
will take care of the CPU frequency transitions.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1404920715-19834-3-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions