aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorDavid HERNANDEZ SANCHEZ <david.hernandezsanchez@st.com>2018-10-05 10:08:46 +0000
committerEduardo Valentin <edubezval@gmail.com>2018-10-25 10:44:52 -0700
commit1d693155607329adff57f5307d35a3a8320d4e7f (patch)
tree2a3489a360ac74d786468e461a1da1f310145358 /drivers/thermal/Kconfig
parentdt-bindings: stm32-thermal: add binding documentation (diff)
downloadlinux-dev-1d693155607329adff57f5307d35a3a8320d4e7f.tar.xz
linux-dev-1d693155607329adff57f5307d35a3a8320d4e7f.zip
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>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r--drivers/thermal/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 82979880f985..1775d4438a58 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -432,7 +432,7 @@ source "drivers/thermal/samsung/Kconfig"
endmenu
menu "STMicroelectronics thermal drivers"
-depends on ARCH_STI && OF
+depends on (ARCH_STI || ARCH_STM32) && OF
source "drivers/thermal/st/Kconfig"
endmenu