]> asedeno.scripts.mit.edu Git - linux.git/commit
thermal/drivers/hisi: Add support for hi3660 SoC
authorKevin Wangtao <kevin.wangtao@linaro.org>
Sun, 22 Oct 2017 08:54:35 +0000 (10:54 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 1 Nov 2017 02:32:18 +0000 (19:32 -0700)
commit2bb60a8ea721900c13b580689d647a6423e88104
tree43c36acb6448143fa6b1c9dbea0555d48c71252c
parenta160a465297362c515db28848b79eb876ceab9c0
thermal/drivers/hisi: Add support for hi3660 SoC

This patch adds the support for thermal sensor on the Hi3660 SoC.
Hi3660 tsensor support alarm in alarm threshold, it also has a configurable
hysteresis interval, interrupt will be triggered when temperature rise above
the alarm threshold or fall below the hysteresis threshold.

Signed-off-by: Kevin Wangtao <kevin.wangtao@linaro.org>
Tested-by: Daniel Lezcano <daniel.lezcano@linaro.org> # hikey6220
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/hisi_thermal.c