diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-04-29 12:36:42 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-05-19 12:58:07 +0200 |
commit | fc7a3d9e9cd01e2679076c655f2bc4b04efbfa01 (patch) | |
tree | 27e143e5adb56d3d97d3f80c5f5000b75a03f88b /drivers/fpga/fpga-mgr.c | |
parent | dfd0bda3703cdaf1fccd5da72cb7101a4fedfe68 (diff) | |
download | lwn-fc7a3d9e9cd01e2679076c655f2bc4b04efbfa01.tar.gz lwn-fc7a3d9e9cd01e2679076c655f2bc4b04efbfa01.zip |
thermal: cpuidle: Register cpuidle cooling device
The cpuidle driver can be used as a cooling device by injecting idle
cycles.
When the property is set, register the cpuidle driver with the idle
state node pointer as a cooling device. The thermal framework will do
the association automatically with the thermal zone via the
cooling-device defined in the device tree cooling-maps section.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20200429103644.5492-4-daniel.lezcano@linaro.org
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions