]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
power: avs: Add support for CPR (Core Power Reduction)
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 2 Jun 2015 01:47:59 +0000 (18:47 -0700)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 6 Apr 2018 06:06:53 +0000 (06:06 +0000)
commit1b73470fb759abb76951f114609897577c23e81f
tree1ef0884401a0f1f1c6c1177ec22db5917fb3aa36
parent295c6f6f62bd834946e5ac7ed5b029e00b48d9c1
power: avs: Add support for CPR (Core Power Reduction)

RBCPR (RapidBridge Core Power Reduction) is a technology to reduce
core power on a CPU or other device. It reads voltage settings in
efuse from product test process as initial settings and populates OPPs
for the device being "monitored". Each OPP corresponds to a "corner"
that has a range of valid voltages for a particular frequency. While
the device is running at a particular frequency, CPR monitors dynamic
factors such as temperature, etc. and adjusts the voltage for that
frequency accordingly to save power and meet silicon characteristic
requirements.

This driver is based on work by others on codeaurora.org[1].

TODO:
* DT binding documentation

[1] https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/drivers/regulator/cpr-regulator.c?h=msm-3.10

Cc: David Collins <collinsd@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/power/avs/Kconfig
drivers/power/avs/Makefile
drivers/power/avs/qcom-cpr.c [new file with mode: 0644]