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

From: Zhang Rui
Date: Tue Dec 13 2016 - 23:23:40 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.10-rc1 with
top-most commit 0faf7dd5a947006978b549dfe29a01b710becf4a:

 MAINTAINERS: Samsung: Update maintainer for PWM FAN and SAMSUNG
THERMAL (2016-12-13 11:20:23 +0800)

on top of commit 23400ac997062647f2b63c82030d189671b1effe:

 Merge branch 'for-rc' of
git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux (2016-11-22
13:53:01 -0800)


- Thermal core code reorganization and cleanup. Two new files are
 created for thermal sysfs I/F code and thermal helper functions.
 From: Eduardo Valentin.

- Sanitize hotplug and locking for x86_pkg_temp driver.
 From:ÂThomas Gleixner.

- Update MAINTAINER file for pwm-fan driver and Samsung thermal driver.
 From:ÂLukasz Majewski.

- Fix module auto-load for max77620, tango and db8500 thermal driver.
 From:ÂJavier Martinez Canillas.

- Fix a bug that thermal hwmon sysfs I/F returns wrong critical trip
 point temperature value. From:ÂKrzysztof Kozlowski.

- Add Skylake PCH 100 series support for intel_pch_thermal driver.
 From:ÂOGAWA Hirofumi.

- Small fixes and cleanups for platform thermal drivers.
 FromÂJulia Lawall,ÂLuis Henriques,ÂLeo Yan,ÂStephen Boyd,
 Shawn Lin,ÂJavi Merino andÂLukasz Luba.


Eduardo Valentin (49):
ÂÂÂÂÂÂthermal: core: prevent zones with no types to be registered
ÂÂÂÂÂÂthermal: core: group thermal_zone DEVICE_ATTR's declarations
ÂÂÂÂÂÂthermal: core: group device_create_file() calls that are always
ÂÂÂÂÂÂthermal: core: use dev.groups to manage always present tz
ÂÂÂÂÂÂthermal: core: move emul_temp creation to tz->device.groups
ÂÂÂÂÂÂthermal: core: move mode attribute to tz->device.groups
ÂÂÂÂÂÂthermal: core: move passive attr to tz->device.groups
ÂÂÂÂÂÂthermal: core: improve power actor documentation
ÂÂÂÂÂÂthermal: core: move power actor code out of sysfs I/F section
ÂÂÂÂÂÂthermal: core: remove useless empty line
ÂÂÂÂÂÂthermal: core: fix style on remove_trip_attrs()
ÂÂÂÂÂÂthermal: core: move the trip attrs to the tz sysfs I/F section
ÂÂÂÂÂÂthermal: core: create tz->device.groups dynamically
ÂÂÂÂÂÂthermal: core: move trips attributes to tz->device.groups
ÂÂÂÂÂÂthermal: core: remove unnecessary device_remove() calls
ÂÂÂÂÂÂthermal: core: split passive_store
ÂÂÂÂÂÂthermal: core: split policy_store
ÂÂÂÂÂÂthermal: core: split available_policies_show()
ÂÂÂÂÂÂthermal: core: move to_thermal_zone() macro to header file
ÂÂÂÂÂÂthermal: core: treat correctly the return value of *scanf calls
ÂÂÂÂÂÂthermal: core: match parenthesis on code alignment
ÂÂÂÂÂÂthermal: core: move thermal_zone sysfs to thermal_sysfs.c
ÂÂÂÂÂÂthermal: core: move to_cooling_device macro to header file
ÂÂÂÂÂÂthermal: core: move cooling device sysfs to thermal_sysfs.c
ÂÂÂÂÂÂthermal: core: remove a couple of style issues on helpers
ÂÂÂÂÂÂthermal: core: introduce thermal_helpers.c
ÂÂÂÂÂÂthermal: core: group functions related to governor handling
ÂÂÂÂÂÂthermal: core: move idr handling to device management section
ÂÂÂÂÂÂthermal: core: small style fix on __unbind() helper
ÂÂÂÂÂÂthermal: core: move __unbind() helper to where it is used
ÂÂÂÂÂÂthermal: core: move bind_cdev() to where it is used
ÂÂÂÂÂÂthermal: core: move bind_tz() to where it is used
ÂÂÂÂÂÂthermal: core: fix couple of style issues on __bind() helper
ÂÂÂÂÂÂthermal: core: move __bind() to where it is used
ÂÂÂÂÂÂthermal: core: add inline to print_bind_err_msg()
ÂÂÂÂÂÂthermal: core: move notify to the zone update section
ÂÂÂÂÂÂthermal: core: add a comment describing the main update loop
ÂÂÂÂÂÂthermal: core: add a comment describing the power actor section
ÂÂÂÂÂÂthermal: core: add a comment describing the device management
ÂÂÂÂÂÂthermal: sysfs: remove symbols of emul_temp when config is
ÂÂÂÂÂÂthermal: core: remove FSF address in the GPL notice
ÂÂÂÂÂÂthermal: core: small style fix when checking for
ÂÂÂÂÂÂthermal: core: standardize line breaking alignment
ÂÂÂÂÂÂthermal: core: remove void function return statements
ÂÂÂÂÂÂthermal: core: remove style warnings and checks
ÂÂÂÂÂÂthermal: core: improve kerneldoc entry of
ÂÂÂÂÂÂthermal: core: use kzalloc(sizeof(*ptr),...)
ÂÂÂÂÂÂthermal: sysfs: use kcalloc() instead of kzalloc()
ÂÂÂÂÂÂthermal: core: move slop and offset helpers to thermal_helpers.c

Javi Merino (1):
ÂÂÂÂÂÂdevfreq_cooling: pass a pointer to devfreq in the power model

Javier Martinez Canillas (3):
ÂÂÂÂÂÂthermal: max77620: Fix module autoload
ÂÂÂÂÂÂthermal: tango: Fix module autoload
ÂÂÂÂÂÂthermal: db8500: Fix module autoload

Julia Lawall (2):
ÂÂÂÂÂÂthermal: hwmon: use permission-specific DEVICE_ATTR variants
ÂÂÂÂÂÂthermal: int340x_thermal: use permission-specific DEVICE_ATTR

Krzysztof Kozlowski (1):
ÂÂÂÂÂÂthermal: hwmon: Properly report critical temperature in sysfs

Leo Yan (1):
ÂÂÂÂÂÂthermal: hisilicon: fix for dependency

Luis Henriques (1):
ÂÂÂÂÂÂthermal: ti-soc-thermal: add missing clk_put()

Lukasz Luba (1):
ÂÂÂÂÂÂdevfreq_cooling: make the structs devfreq_cooling_xxx visible for

Lukasz Majewski (1):
ÂÂÂÂÂÂMAINTAINERS: Samsung: Update maintainer for PWM FAN and SAMSUNG

OGAWA Hirofumi (1):
ÂÂÂÂÂÂthermal: intel_pch_thermal: Support skylake PCH 100 series

Sebastian Andrzej Siewior (1):
ÂÂÂÂÂÂthermal/x86 pkg temp: Convert to hotplug state machine

Shawn Lin (2):
ÂÂÂÂÂÂthermal: rockchip: improve the warning log
ÂÂÂÂÂÂdt-bindings: rockchip-thermal: fix the misleading description

Stephen Boyd (1):
ÂÂÂÂÂÂthermal: qcom-spmi: Treat reg property as a single cell

Thomas Gleixner (11):
ÂÂÂÂÂÂthermal/x86_pkg_temp: Cleanup thermal interrupt handling
ÂÂÂÂÂÂthermal/x86_pkg_temp: Remove redundant package search
ÂÂÂÂÂÂthermal/x86_pkg_temp: Replace open coded cpu search
ÂÂÂÂÂÂthermal/x86_pkg_temp: Sanitize callback (de)initialization
ÂÂÂÂÂÂthermal/x86_pkg_temp: Get rid of ref counting
ÂÂÂÂÂÂthermal/x86_pkg_temp: Cleanup namespace
ÂÂÂÂÂÂthermal/x86_pkg_temp: Cleanup code some more
ÂÂÂÂÂÂthermal/x86_pkg_temp: Sanitize locking
ÂÂÂÂÂÂthermal/x86_pkg_temp: Move work scheduled flag into package
ÂÂÂÂÂÂthermal/x86_pkg_temp: Move work into package struct
ÂÂÂÂÂÂthermal/x86_pkg_temp: Sanitize package management

Zhang Rui (1):
ÂÂÂÂÂÂMerge branches 'thermal-core', 'thermal-intel', 'thermal-soc-
fixes' and 'thermal-reorg' into next

Â.../bindings/thermal/rockchip-thermal.txtÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ3 +
Âdrivers/thermal/db8500_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ1 +
Âdrivers/thermal/devfreq_cooling.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ5 +-
Âdrivers/thermal/int340x_thermal/int3400_thermal.cÂÂ|ÂÂÂÂ2 +-
Âdrivers/thermal/intel_pch_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ64 +-
Âdrivers/thermal/max77620_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ1 +
Âdrivers/thermal/qcom-spmi-temp-alarm.cÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ6 +-
Âdrivers/thermal/rockchip_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ7 +-
Âdrivers/thermal/tango_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ1 +
Âdrivers/thermal/thermal_core.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 1446 +++++-------
Âdrivers/thermal/thermal_core.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ26 +
Âdrivers/thermal/thermal_helpers.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ226 +++
Âdrivers/thermal/thermal_hwmon.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ4 +-
Âdrivers/thermal/thermal_sysfs.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ771 +++++++++++
Âdrivers/thermal/ti-soc-thermal/ti-bandgap.cÂÂÂÂÂÂÂÂ|ÂÂÂÂ5 +-
Âdrivers/thermal/x86_pkg_temp_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ587 ++++----
Âinclude/linux/devfreq_cooling.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ9 +-
Â21 files changed, 1650 insertions(+), 1527 deletions(-)
Âcreate mode 100644 drivers/thermal/thermal_helpers.c
Âcreate mode 100644 drivers/thermal/thermal_sysfs.c