[GIT PULL] Thermal management updates for v4.18-rc1 #2

From: Zhang Rui
Date: Tue Jun 12 2018 - 12:23:25 EST


Hi, Linus,

Please pull from
ÂÂgit://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-
thermal.git linus

to receive the latest Thermal SoC management updates for v4.18-rc1 with
top-most commit 6d7c70d1cd6526dc79e3d3b3faae1c40c1681168:

 thermal: qcom: tsens: Allow number of sensors to come from DT (2018-
06-01 15:09:15 -0700)

on top of commit 701e39d05119229b92ecca4add7b7ed2193622c3:

 Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
(2018-05-06 05:46:29 -1000)

Specifics:

- imx thermal driver now supports i.MX7 thermal sensor (Anson Huang).

- exynos thermal driver dropped support for exynos 5440 (Krzysztof
Kozlowski).

- rcar_thermal now supports r8a77995 (Yoshihiro Kaneko).

- rcar_gen3_thermal now supports r8a77965 (Niklas SÃderlund).

- qcom-spmi-temp-alarm now supports GEN2 PMIC peripherals (David
Collins).

- uniphier thermal now supports UniPhier PXs3 (Kunihiko Hayashi).

- mediatek thermal now supports MT7622 SoC (Sean Wang).

- considerable refactoring of exynos driver (Bartlomiej
Zolnierkiewicz).

- Small fixes all over the place on different drivers.

thanks,
rui

----------------------------------------------------------------
Anson Huang (1):
ÂÂÂÂÂÂthermal: imx: add i.MX7 thermal sensor support

Bartlomiej Zolnierkiewicz (28):
ÂÂÂÂÂÂthermal: exynos: remove unused "type" field from struct
exynos_tmu_platform_data
ÂÂÂÂÂÂthermal: exynos: remove parsing of samsung,
tmu_default_temp_offset property
ÂÂÂÂÂÂthermal: exynos: remove parsing of samsung, tmu_[first,
second]_point_trim properties
ÂÂÂÂÂÂthermal: exynos: remove parsing of samsung, tmu_noise_cancel_mode
property
ÂÂÂÂÂÂthermal: exynos: remove parsing of samsung, tmu[_min,
_max]_efuse_value properties
ÂÂÂÂÂÂthermal: exynos: remove parsing of samsung, tmu_reference_voltage
property
ÂÂÂÂÂÂthermal: exynos: remove parsing of samsung,tmu_gain property
ÂÂÂÂÂÂthermal: exynos: remove parsing of samsung, tmu_cal_type property
ÂÂÂÂÂÂthermal: exynos: remove separate exynos_tmu.h header file
ÂÂÂÂÂÂthermal: exynos: fix setting rising_threshold for Exynos5433
ÂÂÂÂÂÂthermal: exynos: always check for trips points existence
ÂÂÂÂÂÂthermal: exynos: always check for critical trip points existence
ÂÂÂÂÂÂthermal: exynos: check STATUS register in exynos_tmu_initialize()
ÂÂÂÂÂÂthermal: exynos: use sanitize_temp_error() in
exynos7_tmu_initialize()
ÂÂÂÂÂÂthermal: exynos: fix trips limit checking in get_th_reg()
ÂÂÂÂÂÂthermal: exynos: remove threshold_code checking from
exynos4210_tmu_initialize()
ÂÂÂÂÂÂthermal: exynos: make ->tmu_initialize method void
ÂÂÂÂÂÂthermal: exynos: clear IRQs later in exynos4412_tmu_initialize()
ÂÂÂÂÂÂthermal: exynos: move IRQs clearing to exynos_tmu_initialize()
ÂÂÂÂÂÂthermal: exynos: add exynos*_tmu_set_[trip,hyst]() helpers
ÂÂÂÂÂÂthermal: exynos: do not use trips structure directly in
->tmu_initialize
ÂÂÂÂÂÂthermal: exynos: set trips in ascending order in
exynos7_tmu_initialize()
ÂÂÂÂÂÂthermal: exynos: move trips setting to exynos_tmu_initialize()
ÂÂÂÂÂÂthermal: exynos: check return values of ->get_trip_[temp, hyst]
methods
ÂÂÂÂÂÂthermal: exynos: cleanup code for enabling threshold interrupts
ÂÂÂÂÂÂthermal: exynos: remove unused defines for Exynos5433
ÂÂÂÂÂÂthermal: exynos: remove trip reporting to user-space
ÂÂÂÂÂÂthermal: ti-soc-thermal: fix incorrect entry in
omap5430_adc_to_temp[]

Bjorn Andersson (1):
ÂÂÂÂÂÂthermal: qcom: tsens: Allow number of sensors to come from DT

David Collins (1):
ÂÂÂÂÂÂthermal: qcom-spmi-temp-alarm: add support for GEN2 PMIC
peripherals

Ezequiel Garcia (1):
ÂÂÂÂÂÂthermal: tegra: Nuke clk_{readl,writel} helpers

Fabio Estevam (1):
ÂÂÂÂÂÂthermal: imx: Switch to SPDX identifier

Hien Dang (1):
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: Update calculation formula due to HW
evaluation

Krzysztof Kozlowski (2):
ÂÂÂÂÂÂthermal: samsung: Remove support for Exynos5440
ÂÂÂÂÂÂthermal: exynos: Reduce severity of too early temperature read

Kunihiko Hayashi (2):
ÂÂÂÂÂÂdt-bindings: thermal: uniphier: add a compatible string for PXs3
ÂÂÂÂÂÂthermal: uniphier: add UniPhier PXs3 support

Maciej Purski (1):
ÂÂÂÂÂÂthermal: exynos: Read soc_type from match data

Marek Szyprowski (2):
ÂÂÂÂÂÂthermal: exynos: Reading temperature makes sense only when TMU is
turned on
ÂÂÂÂÂÂthermal: exynos: Propagate error value from tmu_read()

Niklas SÃderlund (3):
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: update max temperature clamp
ÂÂÂÂÂÂdt-bindings: thermal: rcar-gen3-thermal: add r8a77965
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: add r8a77965 support

Ryder Lee (1):
ÂÂÂÂÂÂthermal: mediatek: use of_device_get_match_data()

Sean Wang (2):
ÂÂÂÂÂÂdt-bindings: thermal: add binding for MT7622 SoC
ÂÂÂÂÂÂthermal: mediatek: add support for MT7622 SoC

Yoshihiro Kaneko (2):
ÂÂÂÂÂÂdt-bindings: thermal: rcar-thermal: add R8A77995 support
ÂÂÂÂÂÂthermal: rcar_thermal: add r8a77995 support

srplinux2008 (1):
ÂÂÂÂÂÂthermal: tegra: soctherm: add const to struct
thermal_cooling_device_ops

Â.../devicetree/bindings/thermal/exynos-thermal.txt |ÂÂ14 +-
Â.../devicetree/bindings/thermal/imx-thermal.txtÂÂÂÂ|ÂÂÂ9 +-
Â.../bindings/thermal/mediatek-thermal.txtÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ1 +
Â.../devicetree/bindings/thermal/qcom-tsens.txtÂÂÂÂÂ|ÂÂÂ1 +
Â.../bindings/thermal/rcar-gen3-thermal.txtÂÂÂÂÂÂÂÂÂ|ÂÂÂ3 +-
Â.../devicetree/bindings/thermal/rcar-thermal.txtÂÂÂ|ÂÂÂ7 +-
Â.../bindings/thermal/uniphier-thermal.txtÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ1 +
Âdrivers/thermal/imx_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 306 +++++--
Âdrivers/thermal/mtk_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ40 +-
Âdrivers/thermal/qcom-spmi-temp-alarm.cÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ92 +-
Âdrivers/thermal/qcom/tsens.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ12 +-
Âdrivers/thermal/rcar_gen3_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ17 +-
Âdrivers/thermal/rcar_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 158 +++-
Âdrivers/thermal/samsung/exynos_tmu.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 971 ++++++++-----
--------
Âdrivers/thermal/samsung/exynos_tmu.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ75 --
Âdrivers/thermal/tegra/soctherm.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ31 +-
Â.../thermal/ti-soc-thermal/omap5-thermal-data.cÂÂÂÂ|ÂÂÂ2 +-
Âdrivers/thermal/uniphier_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ4 +
Â18 files changed, 861 insertions(+), 883 deletions(-)
Âdelete mode 100644 drivers/thermal/samsung/exynos_tmu.h