[PATCH v1 0/7] Thermal throttling for SDM845

From: Amit Kucheria
Date: Wed Jan 09 2019 - 19:01:08 EST


Add support for thermal throttling on SDM845.

We introduce a generic .ready callback to be used by cpufreq drivers to
register as a thermal cooling device. If this approach is acceptable I can
send a series converting other cpufreq drivers to use this callback.

Amit Kucheria (7):
drivers: thermal: of-thermal: Print name of device node with error
drivers: cpufreq: Add thermal_cooling_device pointer to struct
cpufreq_policy
cpu_cooling: Add generic driver ready callback
cpufreq: qcom-hw: Move to device_initcall
cpufreq: qcom-hw: Register as a cpufreq cooling device
arm64: dts: sdm845: Increase alert trip point to 95 degrees
arm64: dts: sdm845: wireup the thermal trip points to cpufreq

arch/arm64/boot/dts/qcom/sdm845.dtsi | 161 +++++++++++++++++++++++++--
drivers/cpufreq/qcom-cpufreq-hw.c | 7 +-
drivers/thermal/cpu_cooling.c | 18 +++
drivers/thermal/of-thermal.c | 4 +-
include/linux/cpu_cooling.h | 9 ++
include/linux/cpufreq.h | 2 +
6 files changed, 190 insertions(+), 11 deletions(-)

--
2.17.1