thermal: add stm32 thermal driver
authorDavid HERNANDEZ SANCHEZ <david.hernandezsanchez@st.com>
Fri, 5 Oct 2018 10:08:46 +0000 (10:08 +0000)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 25 Oct 2018 17:44:52 +0000 (10:44 -0700)
commit1d693155607329adff57f5307d35a3a8320d4e7f
tree2a3489a360ac74d786468e461a1da1f310145358
parent7f1a22ce597c2d6410843628c7d240e7441a81a3
thermal: add stm32 thermal driver

Add support for DTS thermal sensor that can be
found on some STM32 platforms.

This driver is based on OF and works in interrupt
mode.

It offers two temperature trip points:
passive and critical. The first is intended for
passive cooling notification while the second is
used for over-temperature reset.

Signed-off-by: David Hernandez Sanchez <david.hernandezsanchez@st.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/st/Kconfig
drivers/thermal/st/Makefile
drivers/thermal/st/stm_thermal.c [new file with mode: 0644]