pm: introduce HAS_PM

Add a new Kconfig option that has to be selected by SoCs providing PM
hooks. This option will be now required to enable CONFIG_PM. Before this
change, CONFIG_PM could always be enabled, regardless of SoC providing
any kind of low-power support.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-07-18 10:40:27 +02:00 committed by Fabio Baltieri
commit 3d2194f11e
44 changed files with 51 additions and 3 deletions

View file

@ -15,5 +15,6 @@ config SOC_SERIES_CC13X2_CC26X2
select HAS_CC13X2_CC26X2_SDK
select HAS_TI_CCFG
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select HAS_PM
help
Enable support for TI SimpleLink CC13x2 / CC26x2 SoCs

View file

@ -15,5 +15,6 @@ config SOC_SERIES_CC13X2X7_CC26X2X7
select HAS_CC13X2X7_CC26X2X7_SDK
select HAS_TI_CCFG if !BOOTLOADER_MCUBOOT
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select HAS_PM
help
Enable support for TI SimpleLink CC13x2x7 / CC26x2x7 SoCs