soc: cc13x2_cc26x2: set SYS_PM_STATE_LOCK when power management is enabled

When power management is enabled, SYS_PM_STATE_LOCK is necessary
in order to prevent the power policy from automatically entering
certain sleep states.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
This commit is contained in:
Vincent Wan 2020-02-20 11:49:48 -08:00 committed by Anas Nashif
commit b591bc0b94

View file

@ -14,5 +14,6 @@ config SOC_SERIES_CC13X2_CC26X2
select HAS_TI_CCFG
select HAS_SYS_POWER_STATE_SLEEP_1
select HAS_SYS_POWER_STATE_SLEEP_2
select SYS_PM_STATE_LOCK if SYS_POWER_MANAGEMENT
help
Enable support for TI SimpleLink CC13x2 / CC26x2 SoCs