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:
parent
398d52de68
commit
f561c87023
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue