diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-07-05 00:43:54 +0400 |
---|---|---|
committer | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-12-04 17:34:25 +0400 |
commit | 26d9cc65fa769d80cfca27eb8f85b4c3df56a04b (patch) | |
tree | 9f9a93861d74599838b31f1839406ed2d47f1a6a /arch/arm/boot/dts/omap4-cpu-thermal.dtsi | |
parent | 6a027523f30f1cc90037686e6a682d15c6a555d6 (diff) | |
download | linux-26d9cc65fa769d80cfca27eb8f85b4c3df56a04b.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/omap4-cpu-thermal.dtsi')
0 files changed, 0 insertions, 0 deletions