[GIT PULL] thermal for v5.20-rc1
From: Daniel Lezcano
Date: Fri Jul 29 2022 - 12:48:06 EST
Hi Rafael,
please consider pulling the following changes:
Thanks!
The following changes since commit 62f46fc7b8c639bc97cc9c69e063c40970b6e14c:
thermal: intel_tcc_cooling: Add TCC cooling support for RaptorLake
(2022-06-30 19:48:44 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git
tags/thermal-v5.20-rc1
for you to fetch changes up to d0c75fa2c17f082b32a5f26ff40bf378b12952de:
thermal/of: Initialize trip points separately (2022-07-28 17:29:57 +0200)
----------------------------------------------------------------
- Make per cpufreq / devfreq cooling device ops instead of using a
global variable, fix comments and rework the trace information
(Lukasz Luba)
- Add the include/dt-bindings/thermal.h under the area covered by the
thermal maintainer in the MAINTAINERS file (Lukas Bulwahn)
- Improve the error output by giving the sensor identification when a
thermal zone failed to initialize, the DT bindings by changing the
positive logic and adding the r8a779f0 support on the rcar3 (Wolfram
Sang)
- Convert the QCom tsens DT binding to the dtsformat format (Krzysztof
Kozlowski)
- Remove the pointless get_trend() function in the QCom, Ux500 and
tegra thermal drivers, along with the unused DROP_FULL and
RAISE_FULL trends definitions. Simplify the code by using clamp()
macros (Daniel Lezcano)
- Fix ref_table memory leak at probe time on the k3_j72xx bandgap
(Bryan Brattlof)
- Fix array underflow in prep_lookup_table (Dan Carpenter)
- Add static annotation to the k3_j72xx_bandgap_j7* data structure
(Jin Xiaoyun)
- Fix typos in comments detected on sun8i by Coccinelle (Julia Lawall)
- Fix typos in comments on rzg2l (Biju Das)
- Remove as unnecessary call to dev_err() as the error is already
printed by the failing function on u8500 (Yang Li)
- Register the thermal zones as hwmon sensors for the Qcom thermal
sensors (Dmitry Baryshkov)
- Fix 'tmon' tool compilation issue by adding phtread.h include
(Markus Mayer)
- Fix typo in the comments for the 'tmon' tool (Slark Xiao)
- Consolidate the thermal core code by beginning to move the thermal
trip structure from the thermal OF code as a generic structure to be
used by the different sensors when registering a thermal zone
(Daniel Lezcano)
----------------------------------------------------------------
Biju Das (1):
thermal/drivers/rzg2l: Fix comments
Bryan Brattlof (1):
thermal/drivers/k3_j72xx_bandgap: Fix ref_table memory leak
during probe
Dan Carpenter (1):
thermal/drivers/k3_j72xx_bandgap: Fix array underflow in
prep_lookup_table()
Daniel Lezcano (16):
thermal/drivers/qcom: Remove get_trend function
thermal/drivers/tegra: Remove get_trend function
thermal/drivers/u8500: Remove the get_trend function
thermal/core: Use clamp() helper in the stepwise governor
thermal/core: Remove DROP_FULL and RAISE_FULL
thermal/core: Avoid calling ->get_trip_temp() unnecessarily
thermal/core: Remove duplicate information when an error occurs
thermal/of: Replace device node match with device node search
thermal/of: Remove the device node pointer for thermal_trip
thermal/of: Move thermal_trip structure to thermal.h
thermal/core: Remove unneeded EXPORT_SYMBOLS
thermal/core: Move thermal_set_delay_jiffies to static
thermal/core: Rename 'trips' to 'num_trips'
thermal/core: Add thermal_trip in thermal_zone
thermal/of: Use thermal trips stored in the thermal zone
thermal/of: Initialize trip points separately
Dmitry Baryshkov (2):
thermal/drivers/qcom/temp-alarm: Register thermal zones as hwmon
sensors
thermal/drivers/qcom/spmi-adc-tm5: Register thermal zones as
hwmon sensors
Jason Wang (1):
thermal/ti-soc-thermal: Fix comment typo
Jin Xiaoyun (1):
thermal/drivers/k3_j72xx_bandgap: Make
k3_j72xx_bandgap_j721e_data and k3_j72xx_bandgap_j7200_data static
Julia Lawall (1):
thermal/drivers/sun8i: Fix typo in comment
Krzysztof Kozlowski (1):
dt-bindings: thermal: qcom,spmi-temp-alarm: convert to dtschema
Lukas Bulwahn (1):
MAINTAINERS: add include/dt-bindings/thermal to THERMAL
Lukasz Luba (4):
drivers/thermal/cpufreq_cooling: Use private callback ops for
each cooling device
drivers/thermal/cpufreq_cooling : Refactor
thermal_power_cpu_get_power tracing
drivers/thermal/cpufreq_cooling: Update outdated comments
drivers/thermal/devfreq_cooling: Extend the
devfreq_cooling_device with ops
Markus Mayer (1):
thermal/tools/tmon: Include pthread and time headers in tmon.h
Slark Xiao (1):
thermal/tools/tmon: Fix typo 'the the' in comment
Wolfram Sang (3):
drivers/thermal/rcar_gen3_thermal: Improve logging during probe
dt-bindings: thermal: rcar-gen3-thermal: use positive logic
dt-bindings: thermal: rcar-gen3-thermal: Add r8a779f0 support
Yang Li (1):
thermal/drivers/u8500: Remove unnecessary print function dev_err()
.../bindings/thermal/qcom,spmi-temp-alarm.yaml | 85 +++++++++
.../bindings/thermal/qcom-spmi-temp-alarm.txt | 51 ------
.../bindings/thermal/rcar-gen3-thermal.yaml | 36 ++--
MAINTAINERS | 1 +
drivers/thermal/cpufreq_cooling.c | 77 +++-----
drivers/thermal/db8500_thermal.c | 34 +---
drivers/thermal/devfreq_cooling.c | 27 +--
drivers/thermal/gov_fair_share.c | 6 +-
drivers/thermal/gov_power_allocator.c | 4 +-
drivers/thermal/gov_step_wise.c | 26 +--
drivers/thermal/k3_j72xx_bandgap.c | 13 +-
drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 5 +
drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 5 +
drivers/thermal/qcom/tsens.c | 12 --
drivers/thermal/qcom/tsens.h | 2 -
drivers/thermal/rcar_gen3_thermal.c | 4 +-
drivers/thermal/rzg2l_thermal.c | 18 +-
drivers/thermal/sun8i_thermal.c | 2 +-
drivers/thermal/tegra/soctherm.c | 32 ----
drivers/thermal/tegra/tegra30-tsensor.c | 2 +-
drivers/thermal/thermal_core.c | 61 ++++---
drivers/thermal/thermal_core.h | 15 --
drivers/thermal/thermal_helpers.c | 13 +-
drivers/thermal/thermal_netlink.c | 2 +-
drivers/thermal/thermal_of.c | 201
++++++++++++---------
drivers/thermal/thermal_sysfs.c | 22 +--
drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +-
include/linux/thermal.h | 26 ++-
include/trace/events/thermal.h | 28 +--
tools/thermal/tmon/pid.c | 2 +-
tools/thermal/tmon/tmon.h | 3 +
31 files changed, 387 insertions(+), 430 deletions(-)
create mode 100644
Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml
delete mode 100644
Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog