diff options
author | David HERNANDEZ SANCHEZ <david.hernandezsanchez@st.com> | 2018-10-05 13:08:46 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-10-25 20:44:52 +0300 |
commit | 1d693155607329adff57f5307d35a3a8320d4e7f (patch) | |
tree | 2a3489a360ac74d786468e461a1da1f310145358 /drivers/thermal/st/Kconfig | |
parent | 7f1a22ce597c2d6410843628c7d240e7441a81a3 (diff) | |
download | linux-1d693155607329adff57f5307d35a3a8320d4e7f.tar.xz |
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/st/Kconfig')
-rw-r--r-- | drivers/thermal/st/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/thermal/st/Kconfig b/drivers/thermal/st/Kconfig index 490fdbe22eea..b80f9a9e4f8f 100644 --- a/drivers/thermal/st/Kconfig +++ b/drivers/thermal/st/Kconfig @@ -1,3 +1,7 @@ +# +# STMicroelectronics thermal drivers configuration +# + config ST_THERMAL tristate "Thermal sensors on STMicroelectronics STi series of SoCs" help @@ -10,3 +14,13 @@ config ST_THERMAL_SYSCFG config ST_THERMAL_MEMMAP select ST_THERMAL tristate "STi series memory mapped access based thermal sensors" + +config STM32_THERMAL + tristate "Thermal framework support on STMicroelectronics STM32 series of SoCs" + depends on MACH_STM32MP157 + default y + help + Support for thermal framework on STMicroelectronics STM32 series of + SoCs. This thermal driver allows to access to general thermal framework + functionalities and to acces to SoC sensor functionalities. This + configuration is fully dependent of MACH_STM32MP157. |