soc: arm: stm32 devices supporting low power modes

stm32wb and stm32l4 are devices which supports the low power
from the Kernel PM, so is the PM_DEVICE defined.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-02-10 11:44:35 +01:00 committed by Anas Nashif
commit f561c87023
2 changed files with 12 additions and 2 deletions

View file

@ -13,9 +13,14 @@ source "soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4*"
config SOC_SERIES
default "stm32l4"
if PM
config PM_DEVICE
bool
default y
config STM32_LPTIM_TIMER
bool
default y
depends on PM
endif # PM
endif # SOC_SERIES_STM32L4X

View file

@ -10,9 +10,14 @@ source "soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb*"
config SOC_SERIES
default "stm32wb"
if PM
config PM_DEVICE
bool
default y
config STM32_LPTIM_TIMER
bool
default y
depends on PM
endif # PM
endif # SOC_SERIES_STM32WBX