]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Aug 2017 10:51:29 +0000 (12:51 +0200)
commita7d805f662c43217f5b8a237192206e7f42b5d9c
tree073db6c8f9757b9193294340c481978588bfee47
parent8ebbdd4c3e24e403e390b0eac99ef467fb86f254
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]