[GIT PULL] Thermal management updates for v4.12-rc1

From: Zhang Rui
Date: Fri May 12 2017 - 03:06:32 EST


Hi, Linus,

Please pull from
 git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next

to receive the latest Thermal Management updates for v4.12-rc1 with
top-most commit cb15c81a0c1c1f7829b9809a209ecacc77f5aa63:

 Merge branch 'thermal-soc' into next (2017-05-06 19:31:19 +0800)

on top of commit 39da7c509acff13fc8cb12ec1bb20337c988ed36:

 Linux 4.11-rc6 (2017-04-09 09:49:44 -0700)

Specifics:
- Fixed a problem that orderly_shutdown() is called for multiple times
 due to multiple critical overheating events raised in a short period
 by platform thermal driver. (Keerthy)
- Introduce a backup thermal shutdown mechanism, which invokes
 kernel_power_off()/emergency_restart() directly, after
 orderly_shutdown() being issued for certain amount of time(specified
 via Kconfig). This is useful in certain conditions that userspace
 may be unable to power off the system in a clean manner and leaves
 the system in a critical state, like in the middle of driver probing
 phase. (Keerthy)
- Introduces a new interface in thermal devfreq_cooling code so that
 the driver can provide more precise data regarding actual power to
 the thermal governor every time the power budget is calculated.
 (Lukasz Luba)
- Introduce BCM 2835 soc thermal driver and northstar thermal driver,
 within a new sub-folder. (RafaÅ MiÅecki)
- Introduce DA9062/61 thermal driver. (Steve Twiss)
- Remove non-DT booting on TI-SoC driver. And also add support to
Â
fetching coefficients from DT. (Keerthy)
- Refactoring of RCAR Gen3
thermal driver. (Niklas SÃderlund)
- Small fix on MTK and intel-soc-dts thermal driver.
 (Dawei Chien, Brian Bian)

thanks,
rui


----------------------------------------------------------------
Brian Bian (1):
ÂÂÂÂÂÂThermal: Intel SoC DTS: Change interrupt request behavior

Dawei Chien (1):
ÂÂÂÂÂÂthermal: mt8173: minor mtk_thermal.c cleanups

Keerthy (5):
ÂÂÂÂÂÂthermal: ti-soc-thermal: Fetch slope and offset from DT
ÂÂÂÂÂÂthermal: ti-soc-thermal: Remove redundant constants
ÂÂÂÂÂÂthermal: ti-soc-thermal: Remove redundant code
ÂÂÂÂÂÂthermal: core: Allow orderly_poweroff to be called only once
ÂÂÂÂÂÂthermal: core: Add a back up thermal shutdown mechanism

Lukasz Luba (3):
ÂÂÂÂÂÂthermal: devfreq_cooling: refactor code and add get_voltage
function
ÂÂÂÂÂÂthermal: devfreq_cooling: add new interface for direct power read
ÂÂÂÂÂÂtrace: thermal: add another parameter 'power' to the tracing
function

Niklas SÃderlund (7):
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: add delay in .thermal_init on r8a7796
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: remove unneeded mutex
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: check that TSC exists before memory
allocation
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: record and check number of TSCs found
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: enable hardware interrupts for trip
points
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: store device match data in private
structure
ÂÂÂÂÂÂthermal: rcar_gen3_thermal: add suspend and resume support

RafaÅ MiÅecki (4):
ÂÂÂÂÂÂdt-bindings: thermal: add support for Broadcom's Northstar
thermal
ÂÂÂÂÂÂthermal: broadcom: add Northstar thermal driver
ÂÂÂÂÂÂthermal: broadcom: ns: specify myself as MODULE_AUTHOR
ÂÂÂÂÂÂthermal: bcm2835: move to the broadcom subdirectory

Stefan Wahren (2):
ÂÂÂÂÂÂdt-bindings: Add thermal zone to bcm2835-thermal example
ÂÂÂÂÂÂthermal: bcm2835: add thermal driver for bcm2835 SoC

Steve Twiss (2):
ÂÂÂÂÂÂDocumentation: devicetree: thermal: da9062/61 TJUNC temperature
binding
ÂÂÂÂÂÂthermal: da9062/61: Thermal junction temperature monitoring
driver

Zhang Rui (4):
ÂÂÂÂÂÂMerge branches 'thermal-core' and 'thermal-intel' into next
ÂÂÂÂÂÂMerge branch 'backup-thermal-shutdown' into next
ÂÂÂÂÂÂMerge branch 'linus' of git://git.kernel.org/.../evalenti/linux-
soc-thermal into thermal-soc
ÂÂÂÂÂÂMerge branch 'thermal-soc' into next

Â.../bindings/thermal/brcm,bcm2835-thermal.txtÂÂÂÂÂÂ|ÂÂ32 ++-
Â.../devicetree/bindings/thermal/brcm,ns-thermalÂÂÂÂ|ÂÂ37 +++
Â.../devicetree/bindings/thermal/da9062-thermal.txt |ÂÂ36 +++
ÂDocumentation/thermal/sysfs-api.txtÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ21 ++
Âdrivers/thermal/KconfigÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ32 +++
Âdrivers/thermal/MakefileÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ2 +
Âdrivers/thermal/broadcom/KconfigÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ16 ++
Âdrivers/thermal/broadcom/MakefileÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ2 +
Âdrivers/thermal/broadcom/bcm2835_thermal.cÂÂÂÂÂÂÂÂÂ| 314
++++++++++++++++++++
Âdrivers/thermal/broadcom/ns-thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 106 +++++++
Âdrivers/thermal/da9062-thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 315
+++++++++++++++++++++
Âdrivers/thermal/devfreq_cooling.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 152 +++++++---
Âdrivers/thermal/intel_soc_dts_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ9 +-
Âdrivers/thermal/mtk_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ2 +-
Âdrivers/thermal/rcar_gen3_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 199 ++++++++++++-
Âdrivers/thermal/thermal_core.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ64 ++++-
Â.../thermal/ti-soc-thermal/dra752-thermal-data.cÂÂÂ|ÂÂ10 -
Â.../thermal/ti-soc-thermal/omap3-thermal-data.cÂÂÂÂ|ÂÂÂ4 -
Â.../thermal/ti-soc-thermal/omap4-thermal-data.cÂÂÂÂ|ÂÂÂ6 -
Â.../thermal/ti-soc-thermal/omap5-thermal-data.cÂÂÂÂ|ÂÂÂ4 -
Âdrivers/thermal/ti-soc-thermal/ti-bandgap.hÂÂÂÂÂÂÂÂ|ÂÂÂ4 -
Âdrivers/thermal/ti-soc-thermal/ti-thermal-common.c | 158 +----------
Âdrivers/thermal/ti-soc-thermal/ti-thermal.hÂÂÂÂÂÂÂÂ|ÂÂ16 --
Âinclude/linux/devfreq_cooling.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ19 ++
Âinclude/trace/events/thermal.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ11 +-
Â25 files changed, 1305 insertions(+), 266 deletions(-)
Âcreate mode 100644 Documentation/devicetree/bindings/thermal/brcm,ns-
thermal
Âcreate mode 100644 Documentation/devicetree/bindings/thermal/da9062-
thermal.txt
Âcreate mode 100644 drivers/thermal/broadcom/Kconfig
Âcreate mode 100644 drivers/thermal/broadcom/Makefile
Âcreate mode 100644 drivers/thermal/broadcom/bcm2835_thermal.c
Âcreate mode 100644 drivers/thermal/broadcom/ns-thermal.c
Âcreate mode 100644 drivers/thermal/da9062-thermal.c