summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorkongxinwei <kong.kongxinwei@hisilicon.com>2015-05-20 13:16:37 +0200
committerEduardo Valentin <edubezval@gmail.com>2015-06-04 00:58:52 +0200
commit9a5238a9c6c33dd31525f2bba4aa1af4f8374ae1 (patch)
tree688ee807841497cdf9a0101b9addb505ae671bad /drivers/thermal/Kconfig
parentdt-bindings: Document the hi6220 thermal sensor bindings (diff)
downloadlinux-9a5238a9c6c33dd31525f2bba4aa1af4f8374ae1.tar.xz
linux-9a5238a9c6c33dd31525f2bba4aa1af4f8374ae1.zip
thermal: hisilicon: add new hisilicon thermal sensor driver
This patch adds the support for hisilicon thermal sensor, within hisilicon SoC. there will register sensors for thermal framework and use device tree to bind cooling device. Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: kongxinwei <kong.kongxinwei@hisilicon.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r--drivers/thermal/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 3379beeed109..80e9c45399c7 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -161,6 +161,14 @@ config THERMAL_EMULATION
because userland can easily disable the thermal policy by simply
flooding this sysfs node with low temperature values.
+config HISI_THERMAL
+ tristate "Hisilicon thermal driver"
+ depends on ARCH_HISI && CPU_THERMAL && OF
+ help
+ Enable this to plug hisilicon's thermal sensor driver into the Linux
+ thermal framework. cpufreq is used as the cooling device to throttle
+ CPUs when the passive trip is crossed.
+
config IMX_THERMAL
tristate "Temperature sensor driver for Freescale i.MX SoCs"
depends on CPU_THERMAL