]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: k3: Add support for bandgap sensors
authorKeerthy <j-keerthy@ti.com>
Tue, 7 Apr 2020 05:51:14 +0000 (11:21 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 14 Apr 2020 09:41:12 +0000 (11:41 +0200)
commitaecea1c6f62609eee7e8a08cc46028f0e1c55fe3
treedccff9426e02641ff225003bfba98a114d69e618
parent722d67ec638a31463cb66bd4a0fb6af8182920ec
thermal: k3: Add support for bandgap sensors

Add VTM thermal support. In the Voltage Thermal Management
Module(VTM), K3 AM654 supplies a voltage reference and a temperature
sensor feature that are gathered in the band gap voltage and
temperature sensor (VBGAPTS) module. The band gap provides current and
voltage reference for its internal circuits and other analog IP
blocks. The analog-to-digital converter (ADC) produces an output value
that is proportional to the silicon temperature.

Currently reading temperatures only is supported.  There are no
active/passive cooling agent supported.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200407055116.16082-3-j-keerthy@ti.com
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/k3_bandgap.c [new file with mode: 0644]