OSDN Git Service

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)
commit48b2bce8c7db92601145e1204fa7048b1f74e442
treedccff9426e02641ff225003bfba98a114d69e618
parent3dc748754d68b5893307c3c68acfc67f76110ecf
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]