[GIT PULL] thermal for v5.8-rc1

From: Daniel Lezcano
Date: Fri Jun 12 2020 - 15:32:50 EST


The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136:

Linux 5.7-rc1 (2020-04-12 12:35:55 -0700)

are available in the Git repository at:


ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/thermal/linux.git
tags/thermal-v5.8-rc1

for you to fetch changes up to 8d485da0ddee79d0e6713405694253d401e41b93:

thermal/int340x_thermal: Don't require IDSP to exist (2020-05-29
20:26:51 +0200)

----------------------------------------------------------------
- Add the hwmon support on the i.MX SC (Anson Huang)

- Thermal framework cleanups (self-encapsulation, pointless stubs,
private structures) (Daniel Lezcano)

- Use the PM QoS frequency changes for the devfreq cooling device (Matthias
Kaehlcke)

- Remove duplicate error messages from platform_get_irq() error handling
(Markus Elfring)

- Add support for the bandgap sensors (Keerthy)

- Statically initialize .get_mode/.set_mode ops (Andrzej Pietrasiewicz)

- Add Renesas R-Car maintainer entry (Niklas SÃderlund)

- Fix error checking after calling ti_bandgap_get_sensor_data() for the
TI SoC
thermal (Sudip Mukherjee)

- Add latency constraint for the idle injection, the DT binding and the
change
the registering function (Daniel Lezcano)

- Convert the thermal framework binding to the Yaml schema (Amit Kucheria)

- Replace zero-length array with flexible-array on i.MX 8MM (Gustavo A.
R. Silva)

- Thermal framework cleanups (alphabetic order for heads, replace
module.h by
export.h, make file naming consistent) (Amit Kucheria)

- Merge tsens-common into the tsens driver (Amit Kucheria)

- Fix platform dependency for the Qoriq driver (Geert Uytterhoeven)

- Clean up the rcar_thermal_update_temp() function in the rcar thermal
driver
(Niklas SÃderlund)

- Fix the TMSAR register for the TMUv2 on the Qoriq platform (Yuantian Tang)

- Export GDDV, OEM vendor variables, and don't require IDSP for the int340x
thermal driver - trivial conflicts fixed (Matthew Garrett)

----------------------------------------------------------------
Amit Kucheria (18):
dt-bindings: thermal: Add yaml bindings for thermal sensors
dt-bindings: thermal: Add yaml bindings for thermal cooling-devices
dt-bindings: thermal: Add yaml bindings for thermal zones
thermal/core: Get rid of MODULE_* tags
thermal/core: Replace module.h with export.h
thermal/drivers/thermal_helpers: Sort headers alphabetically
thermal/drivers/thermal_helpers: Include export.h
thermal/drivers/thermal_hwmon: Sort headers alphabetically
thermal/drivers/thermal_hwmon: Include export.h
thermal/drivers/clock_cooling: Sort headers alphabetically
thermal/drivers/clock_cooling: Include export.h
thermal/drivers/cpufreq_cooling: Sort headers alphabetically
thermal/drivers/cpufreq_cooling: Replace module.h with export.h
thermal/drivers/of-thermal: Sort headers alphabetically
thermal/drivers/user_space: Sort headers alphabetically
thermal/governors: Prefix all source files with gov_
thermal/of: Rename of-thermal.c
drivers: thermal: tsens: Merge tsens-common.c into tsens.c

Andrzej Pietrasiewicz (1):
thermal: int3400_thermal: Statically initialize
.get_mode()/.set_mode() ops

Anson Huang (1):
thermal: imx_sc_thermal: Add hwmon support

Daniel Lezcano (15):
thermal: core: Make thermal_zone_set_trips private
thermal: core: Remove pointless debug traces
thermal: Move default governor config option to the internal header
thermal: Move struct thermal_attr to the private header
thermal: Move internal IPA functions
thermal: Move trip point structure definition to private header
thermal: Move get_tz_trend to the internal header
thermal: Move get_thermal_instance to the internal header
thermal: Change IS_ENABLED to IFDEF in the header file
thermal: Remove stubs for thermal_zone_[un]bind_cooling_device
thermal: Remove thermal_zone_device_update() stub
powercap/drivers/idle_inject: Specify idle state max latency
dt-bindings: thermal: Add the idle cooling device
thermal/drivers/cpuidle_cooling: Change the registration function
thermal: cpuidle: Register cpuidle cooling device

Geert Uytterhoeven (1):
thermal: qoriq: Add platform dependencies

Gustavo A. R. Silva (1):
thermal: imx8mm: Replace zero-length array with flexible-array

Keerthy (2):
dt-bindings: thermal: k3: Add VTM bindings documentation
thermal: k3: Add support for bandgap sensors

Markus Elfring (1):
thermal: Delete an error message in four functions

Matthew Garrett (3):
thermal/int340x_thermal: Export GDDV
thermal/int340x_thermal: Export OEM vendor variables
thermal/int340x_thermal: Don't require IDSP to exist

Matthias Kaehlcke (1):
thermal: devfreq_cooling: Use PM QoS to set frequency limits

Niklas SÃderlund (2):
MAINTAINERS: Add entry for Renesas R-Car thermal drivers
thermal: rcar_thermal: Clean up rcar_thermal_update_temp()

Sudip Mukherjee (1):
thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR

Yuantian Tang (1):
thermal: qoriq: Update the settings for TMUv2

.../bindings/thermal/thermal-cooling-devices.yaml | 116 +++
.../devicetree/bindings/thermal/thermal-idle.yaml | 145 ++++
.../bindings/thermal/thermal-sensor.yaml | 72 ++
.../devicetree/bindings/thermal/thermal-zones.yaml | 341 +++++++++
.../bindings/thermal/ti,am654-thermal.yaml | 56 ++
MAINTAINERS | 9 +
drivers/cpuidle/cpuidle-arm.c | 3 +
drivers/cpuidle/cpuidle-psci.c | 3 +
drivers/powercap/idle_inject.c | 16 +-
drivers/thermal/Kconfig | 14 +-
drivers/thermal/Makefile | 11 +-
drivers/thermal/clock_cooling.c | 3 +-
drivers/thermal/cpufreq_cooling.c | 10 +-
drivers/thermal/cpuidle_cooling.c | 63 +-
drivers/thermal/devfreq_cooling.c | 70 +-
drivers/thermal/{fair_share.c => gov_fair_share.c} | 0
.../{power_allocator.c => gov_power_allocator.c} | 0
drivers/thermal/{step_wise.c => gov_step_wise.c} | 0
drivers/thermal/{user_space.c => gov_user_space.c} | 2 +-
drivers/thermal/imx8mm_thermal.c | 2 +-
drivers/thermal/imx_sc_thermal.c | 4 +
.../intel/int340x_thermal/int3400_thermal.c | 223 +++++-
drivers/thermal/k3_bandgap.c | 264 +++++++
drivers/thermal/qcom/Makefile | 4 +-
drivers/thermal/qcom/tsens-common.c | 843
---------------------
drivers/thermal/qcom/tsens.c | 838
++++++++++++++++++++
drivers/thermal/qcom/tsens.h | 5 -
drivers/thermal/qoriq_thermal.c | 26 +-
drivers/thermal/rcar_thermal.c | 9 +-
drivers/thermal/rockchip_thermal.c | 4 +-
drivers/thermal/st/st_thermal_memmap.c | 4 +-
drivers/thermal/st/stm_thermal.c | 4 +-
drivers/thermal/thermal_core.c | 12 +-
drivers/thermal/thermal_core.h | 52 ++
drivers/thermal/thermal_helpers.c | 16 +-
drivers/thermal/thermal_hwmon.c | 6 +-
drivers/thermal/{of-thermal.c => thermal_of.c} | 10 +-
drivers/thermal/ti-soc-thermal/ti-bandgap.c | 5 +-
drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 6 +-
include/linux/cpu_cooling.h | 12 +-
include/linux/idle_inject.h | 4 +
include/linux/thermal.h | 84 +-
42 files changed, 2303 insertions(+), 1068 deletions(-)
create mode 100644
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
create mode 100644
Documentation/devicetree/bindings/thermal/thermal-idle.yaml
create mode 100644
Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
create mode 100644
Documentation/devicetree/bindings/thermal/thermal-zones.yaml
create mode 100644
Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml
rename drivers/thermal/{fair_share.c => gov_fair_share.c} (100%)
rename drivers/thermal/{power_allocator.c => gov_power_allocator.c} (100%)
rename drivers/thermal/{step_wise.c => gov_step_wise.c} (100%)
rename drivers/thermal/{user_space.c => gov_user_space.c} (100%)
create mode 100644 drivers/thermal/k3_bandgap.c
delete mode 100644 drivers/thermal/qcom/tsens-common.c
rename drivers/thermal/{of-thermal.c => thermal_of.c} (100%)

--
<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