Add support for thermal throttling on SDM845. We introduce a generic flag to be used by cpufreq drivers to tell the cpufreq core to auto-register a thermal cooling device. There are a few miscellaneous fixes to keep checkpatch happy. If this approach is acceptable I can send a series converting other cpufreq drivers to use this flag and get rid of driver code. Amit Kucheria (9): [ALREADY QUEUED] cpufreq: qcom-hw: Move to device_initcall drivers: thermal: of-thermal: Print name of device node with error drivers: cpufreq: Add thermal_cooling_device pointer to struct cpufreq_policy cpufreq: Add a flag to auto-register a cooling device cpufreq: Replace open-coded << with BIT() 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 thermal: cpu_cooling: Clarify error message arch/arm64/boot/dts/qcom/sdm845.dtsi | 193 +++++++++++++++++++++++---- drivers/cpufreq/cpufreq.c | 13 ++ drivers/cpufreq/qcom-cpufreq-hw.c | 5 +- drivers/thermal/cpu_cooling.c | 2 +- drivers/thermal/of-thermal.c | 4 +- include/linux/cpufreq.h | 34 +++-- 6 files changed, 210 insertions(+), 41 deletions(-) -- 2.17.1