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>
This commit is contained in:
David HERNANDEZ SANCHEZ 2018-10-05 10:08:46 +00:00 • committed by Eduardo Valentin
commit 1d69315560
5 changed files with 777 additions and 2 deletions