android_kernel_motorola_sm6225/drivers/thermal
Eduardo Valentin 26d9cc65fa thermal: ti-soc-thermal: use thermal DT infrastructure
This patch improves the ti-soc-thermal driver by adding the
support to build the thermal zones based on DT nodes.

The driver will have two options now to build the thermal
zones. The first option is the zones originally coded
in this driver. So, the driver behavior will be same
if there is no DT node describing the zones. The second
option, when it is found a DT node with thermal data,
will used the common infrastructure to build the thermal
zone and bind its cooling devices.

In case the driver loads thermal data using the legacy
mode, this driver still adds to the system
a cpufreq cooling device. Loading the thermal data from
DT, the driver assumes someone else will add the cpufreq
cooling device, like the cpufreq driver.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
2013-12-04 09:34:25 -04:00
..
samsung thermal: exynos: Provide initial setting for TMU's test MUX address at Exynos4412 2013-10-15 10:10:42 -04:00
ti-soc-thermal thermal: ti-soc-thermal: use thermal DT infrastructure 2013-12-04 09:34:25 -04:00
armada_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
cpu_cooling.c thermal: cpu_cooling: introduce of_cpufreq_cooling_register 2013-12-04 09:33:34 -04:00
db8500_cpufreq_cooling.c thermal: db8500_cpufreq_cooling: remove usage of IS_ERR_OR_NULL() 2013-04-27 09:28:38 +08:00
db8500_thermal.c thermal: db8500: Fix missing mutex_unlock() in probe error paths 2013-03-26 22:08:08 +08:00
dove_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
fair_share.c Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
imx_thermal.c thermal: imx: implement thermal alarm interrupt handling 2013-08-15 14:57:42 +08:00
intel_powerclamp.c thermal/intel_powerclamp: Add newer CPU models 2013-10-09 12:17:36 +08:00
Kconfig thermal: cpu_cooling: introduce of_cpufreq_cooling_register 2013-12-04 09:33:34 -04:00
kirkwood_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
Makefile thermal: introduce device tree parser 2013-12-04 09:31:34 -04:00
of-thermal.c thermal: introduce device tree parser 2013-12-04 09:31:34 -04:00
rcar_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
spear_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
step_wise.c thermal: step_wise: return instance->target by default 2013-08-15 15:49:20 +08:00
thermal_core.c thermal: core: introduce thermal_of_cooling_device_register 2013-12-04 09:31:34 -04:00
thermal_core.h thermal: introduce device tree parser 2013-12-04 09:31:34 -04:00
thermal_hwmon.c Revert "drivers: thermal: parent virtual hwmon with thermal zone" 2013-10-21 11:16:29 +08:00
thermal_hwmon.h thermal: hwmon: move hwmon support to single file 2013-09-03 09:09:12 -04:00
user_space.c Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
x86_pkg_temp_thermal.c Thermal: x86_pkg_temp: change spin lock 2013-09-25 21:29:39 +08:00