]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/thermal/ti-soc-thermal/ti-thermal.h
thermal: ti-soc-thermal: add thermal data for DRA752 chips
authorEduardo Valentin <eduardo.valentin@ti.com>
Mon, 3 Jun 2013 20:31:55 +0000 (20:31 +0000)
committerZhang Rui <rui.zhang@intel.com>
Thu, 13 Jun 2013 02:15:52 +0000 (10:15 +0800)
commit8926fa4f9b6160b1953ca44852d6044b58a829e1
tree92cb275108b323e650a96dc1693a0cb66cbeb0a4
parent0c12b5ac82fbae6903237997677c228089569ace
thermal: ti-soc-thermal: add thermal data for DRA752 chips

This patch adds the thermal data for TI DRA752 chips.
In this change it includes (autogen):
. Register offset definitions
. Bitfields and masks for all registers
. Conversion table

Also, the thermal limits, thresholds and extrapolation
rules are included. The extrapolation rule is simply
add +2C as margin.

All 5 sensors, MPU, GPU, CORE, DSPEVE and IVA, are defined
and exposed. Only MPU has cooling device.

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>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/ti-soc-thermal/Kconfig
drivers/thermal/ti-soc-thermal/Makefile
drivers/thermal/ti-soc-thermal/dra752-bandgap.h [new file with mode: 0644]
drivers/thermal/ti-soc-thermal/dra752-thermal-data.c [new file with mode: 0644]
drivers/thermal/ti-soc-thermal/ti-thermal.h