diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2016-09-05 15:19:20 +0200 |
---|---|---|
committer | Klaus Goger <klaus.goger@theobroma-systems.com> | 2016-09-18 15:53:09 +0200 |
commit | c6a2866482e3ecef1a420d1605bcbb58e0b3a40e (patch) | |
tree | 7c22e1f8905da866b1919c80886b7e68c50dbcb4 /drivers/thermal/Kconfig | |
parent | b155e5ebb2bb51e8cb06cbabbaf5b1c42d2c1328 (diff) |
ARM: sun9i: Add thermal sensor controller
The thermal sensor controller (TSC) on the Allwiner A80 is colocated
with the GPADC block (i.e. it shares a clock) and controls 4 on-chip
thermals sensors.
The DTS entry for the TSC provides human-readable names for each of
the sensor points and models the conversion function from raw values
to temperature readings (in Celsius).
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 2d702ca6556f..d449cf84ff85 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -204,6 +204,18 @@ config SPEAR_THERMAL Enable this to plug the SPEAr thermal sensor driver into the Linux thermal framework. +config SUN9I_THERMAL + tristate "SUN9I thermal sensor driver" + depends on MACH_SUN9I + depends on HAS_IOMEM + depends on OF + help + Enable this to support the thermal sensor controller found in the + sun9i (A80) and sun50i (A64). The specifics of each controller + (i.e. number of sensors and conversion function) can be configured + through the device-tree. Cpufreq is used as the cooling device and + will throttle CPUs when the temperature crosses the passive trip point. + config ROCKCHIP_THERMAL tristate "Rockchip thermal driver" depends on ARCH_ROCKCHIP || COMPILE_TEST |