soc/arm/silabs: bugfix - disable PMGR if no DEV_INIT

sl_power_manager can only be used if HAL services infrastructure
is enabled, and that is controlled by SOC_GECKO_DEV_INIT kconfig option.
Therefore, SOC_GECKO_PM_BACKEND_PMGR may not be enabled without
SOC_GECKO_DEV_INIT.

Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
This commit is contained in:
Roman Dobrodii 2023-05-25 12:37:34 +02:00 committed by Fabio Baltieri
commit a2d9f6fcbe

View file

@ -130,6 +130,7 @@ if PM
config SOC_GECKO_PM_BACKEND_PMGR
bool
depends on SOC_GECKO_DEV_INIT
default y if SOC_GECKO_SERIES2
help
Implement PM using sl_power_manager service from Gecko SDK