[GIT PULL] Thermal for v5.6-rc1

From: Daniel Lezcano
Date: Tue Jan 28 2020 - 05:13:57 EST



Hi Linus,

The following changes since commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755:

Linux 5.5 (2020-01-26 16:23:03 -0800)

are available in the Git repository at:


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

for you to fetch changes up to 2f23e319b133c7392493e77f515a237c8e1e6dd6:

thermal: stm32: Fix low threshold interrupt flood (2020-01-27 15:40:26
+0100)

Thanks!

----------------------------------------------------------------
- Depromote debug print on the db8500 platform (Linus Walleij)

- Fix compilation warning when compiling with make W=1 (Amit Kucheria)

- Code cleanup and refactoring, regmap conversion and add hwmon
support on Qoriq (Andrey Smirnov)

- Add an idle injection cpu cooling device and its documentation,
rename the cpu_cooling device to cpufreq_cooling device (Daniel
Lezcano)

- Convert unexported functions to static, add the __init annotation in
the thermal-of code and remove the pointless wrapper functions
(Daniel Lezcano)

- Fix register offset for Armada XP and register reset bit
initialization (Zak Hays)

- Enable hwmon on the rockchip (Stefan Schaeckeler)

- Add the thermal sensor for the H6/H5/H3/A64/A83T/R40 sun8i platform
and their device tree bindings, followed by a fix for the ths number
and the sparse warnings (Yangtao Li)

- Code cleanup for the sun8i and hwmon support (Yangtao Li)

- Silent some messages which are misleading given the changes made in
the previous version on generic-adc (Martin Blumenstingl)

- Rename exynos to Exynos (Krzysztof Kozlowski)

- Add the bcm2711 thermal driver with the device tree bindings (Stefan
Wahren)

- Use usleep_range() instead of udelay() as the call is always done in
a sleep-able context (Geert Uytterhoeven)

- Do code cleanup and re-organization to set the scene for a new
process for the brcmstb (Florian Fainelli)

- Fix bindings check issues on brcm (Stefan Wahren)

- Add Jasper Lake support on int340x (Nivedita Swaminathan)

- Add Comet Lake support on intel pch (Gayatri Kammela)

- Fix unmatched pci_release_region() on x86 (Chuhong Yuan)

- Remove temperature boundaries for rcar and rcar3 (Niklas SÃderlund)

- Fix return value to -ENODEV when thermal_zone_of_sensor_register()
is called with the of-node is missing (Peter Mamonov)

- Code cleanup, interrupt bouncing, and better support on stm32
(Pascal Paillet)

----------------------------------------------------------------
Amit Kucheria (11):
thermal: of-thermal: Appease the kernel-doc deity
thermal: cpu_cooling: Appease the kernel-doc deity
thermal: step_wise: Appease the kernel-doc deity
thermal: devfreq_cooling: Appease the kernel-doc deity
thermal: max77620: Appease the kernel-doc deity
thermal: mediatek: Appease the kernel-doc deity
thermal: rockchip: Appease the kernel-doc deity
thermal: samsung: Appease the kernel-doc deity
thermal: tegra: Appease the kernel-doc deity
thermal: amlogic: Appease the kernel-doc deity
thermal: zx2967: Appease the kernel-doc deity

Andrey Smirnov (12):
thermal: qoriq: Add local struct device pointer
thermal: qoriq: Don't store struct thermal_zone_device reference
thermal: qoriq: Add local struct qoriq_sensor pointer
thermal: qoriq: Embed per-sensor data into struct qoriq_tmu_data
thermal: qoriq: Pass data to qoriq_tmu_register_tmu_zone() directly
thermal: qoriq: Pass data to qoriq_tmu_calibration() directly
thermal: qoriq: Drop unnecessary drvdata cleanup
thermal: qoriq: Convert driver to use regmap API
thermal: qoriq: Enable all sensors before registering them
thermal: qoriq: Do not report invalid temperature reading
thermal_hwmon: Add devres wrapper for thermal_add_hwmon_sysfs()
thermal: qoriq: Add hwmon support

Chuhong Yuan (1):
thermal: intel: Fix unmatched pci_release_region

Daniel Lezcano (6):
thermal/drivers/Kconfig: Convert the CPU cooling device to a choice
thermal/drivers/cpu_cooling: Add idle cooling device documentation
thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver
thermal/drivers/cpu_cooling: Rename to cpufreq_cooling
thermal/drivers/of-thermal: Make of_thermal_destroy_zones static
thermal/drivers/of-thermal: Move the of_thermal_free_zone() to the
init section

Florian Fainelli (6):
thermal: brcmstb_thermal: Do not use DT coefficients
thermal: brcmstb_thermal: Prepare to support a different process
dt-bindings: thermal: Define BCM7216 thermal sensor compatible
thermal: brcmstb_thermal: Add 16nm process thermal parameters
thermal: brcmstb_thermal: Restructure interrupt registration
thermal: brcmstb_thermal: Register different ops per process

Gayatri Kammela (1):
thermal: intel: intel_pch_thermal: Add Comet Lake (CML) platform
support

Geert Uytterhoeven (1):
thermal: rcar_thermal: Use usleep_range() instead of udelay()

Krzysztof Kozlowski (1):
thermal: exynos: Rename Samsung and Exynos to lowercase

Linus Walleij (1):
thermal: db8500: Depromote debug print

Martin Blumenstingl (2):
thermal: generic-adc: silence "no lookup table" on deferred probe
thermal: generic-adc: silence info message for IIO_TEMP channels

Niklas SÃderlund (2):
thermal: rcar_thermal: Remove temperature bound
thermal: rcar_gen3_thermal: Remove temperature bound

Pascal Paillet (6):
thermal: stm32: Fix icifr register name
thermal: stm32: Rework sensor mode management
thermal: stm32: Disable interrupts at probe
thermal: stm32: Handle multiple trip points
thermal: stm32: Improve temperature computing
thermal: stm32: Fix low threshold interrupt flood

Peter Mamonov (1):
thermal: of: Make thermal_zone_of_sensor_register return -ENODEV
if a sensor OF node is missing

Stefan Schaeckeler (1):
thermal: rockchip: Enable hwmon

Stefan Wahren (5):
dt-bindings: Add Broadcom AVS RO thermal
thermal: Add BCM2711 thermal driver
ARM: dts: bcm2711: Enable thermal
ARM: configs: Build BCM2711 thermal as module
dt-bindings: brcm,avs-ro-thermal: Fix binding check issues

Swaminathan, Nivedita (1):
thermal: int340x: processor_thermal: Add Jasper Lake support

Yangtao Li (6):
thermal/drivers/sun8i: Add thermal driver for H6/H5/H3/A64/A83T/R40
dt-bindings: thermal: Add YAML schema for sun8i-thermal driver
bindings
thermal: sun8i: Fix r40 ths number
thermal: sun8i: Fix using plain integer as NULL pointer in
sun8i_ths_resource_init
thermal: sun8i: Remove unused variable and unneeded macros
thermal: sun8i: Add hwmon support

Zak Hays (2):
thermal: armada: Fix register offsets for AXP
thermal: armada: Clear reset in armadaxp_init

.../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 160 ++++++
.../bindings/thermal/brcm,avs-ro-thermal.yaml | 48 ++
.../devicetree/bindings/thermal/brcm,avs-tmon.txt | 8 +-
.../driver-api/thermal/cpu-idle-cooling.rst | 189 ++++++
.../driver-api/thermal/exynos_thermal.rst | 8 +-
MAINTAINERS | 13 +-
arch/arm/boot/dts/bcm2711.dtsi | 12 +
arch/arm/configs/multi_v7_defconfig | 1 +
arch/arm64/configs/defconfig | 1 +
drivers/thermal/Kconfig | 35 +-
drivers/thermal/Makefile | 4 +-
drivers/thermal/amlogic_thermal.c | 6 +-
drivers/thermal/armada_thermal.c | 5 +-
drivers/thermal/broadcom/Kconfig | 7 +
drivers/thermal/broadcom/Makefile | 1 +
drivers/thermal/broadcom/bcm2711_thermal.c | 123 ++++
drivers/thermal/broadcom/brcmstb_thermal.c | 96 ++--
drivers/thermal/clock_cooling.c | 2 +-
.../thermal/{cpu_cooling.c => cpufreq_cooling.c} | 7 +-
drivers/thermal/cpuidle_cooling.c | 232 ++++++++
drivers/thermal/db8500_thermal.c | 4 +-
drivers/thermal/devfreq_cooling.c | 3 +-
drivers/thermal/fair_share.c | 4 +-
drivers/thermal/gov_bang_bang.c | 4 +-
.../int340x_thermal/processor_thermal_device.c | 4 +
drivers/thermal/intel/intel_pch_thermal.c | 10 +-
drivers/thermal/max77620_thermal.c | 2 +-
drivers/thermal/mtk_thermal.c | 12 +-
drivers/thermal/of-thermal.c | 70 +--
drivers/thermal/qoriq_thermal.c | 337 ++++++-----
drivers/thermal/rcar_gen3_thermal.c | 4 +-
drivers/thermal/rcar_thermal.c | 9 +-
drivers/thermal/rockchip_thermal.c | 34 +-
drivers/thermal/samsung/Kconfig | 2 +-
drivers/thermal/samsung/exynos_tmu.c | 9 +-
drivers/thermal/st/stm_thermal.c | 388 ++++---------
drivers/thermal/step_wise.c | 4 +-
drivers/thermal/sun8i_thermal.c | 639
+++++++++++++++++++++
drivers/thermal/tegra/soctherm.c | 15 +-
drivers/thermal/thermal-generic-adc.c | 20 +-
drivers/thermal/thermal_core.h | 2 -
drivers/thermal/thermal_hwmon.c | 28 +
drivers/thermal/thermal_hwmon.h | 7 +
drivers/thermal/user_space.c | 4 +-
drivers/thermal/zx2967_thermal.c | 1 +
include/dt-bindings/thermal/thermal_exynos.h | 2 +-
include/linux/clock_cooling.h | 2 +-
include/linux/cpu_cooling.h | 24 +-
48 files changed, 2012 insertions(+), 590 deletions(-)
create mode 100644
Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
create mode 100644
Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
create mode 100644 Documentation/driver-api/thermal/cpu-idle-cooling.rst
create mode 100644 drivers/thermal/broadcom/bcm2711_thermal.c
rename drivers/thermal/{cpu_cooling.c => cpufreq_cooling.c} (98%)
create mode 100644 drivers/thermal/cpuidle_cooling.c
create mode 100644 drivers/thermal/sun8i_thermal.c

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