Skip to content

Commit ddce1e1

Browse files
decsnykartben
authored andcommitted
soc: nxp: rw: Policy constraints when PM2 enabled
When PM2 is enabled, it will disable many of the devices, so need to enable PM policy constraints for this mode also so that device drivers can work. Signed-off-by: Declan Snyder <[email protected]>
1 parent 35b843b commit ddce1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/nxp/rw/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ config SYS_CLOCK_TICKS_PER_SEC
6767
# as we use the TURN_OFF and TURN_ON actions to recover
6868
# from Standby mode (PM Mode 3)
6969
config PM_DEVICE
70-
default y if "$(dt_nodelabel_enabled,standby)"
70+
default y if "$(dt_nodelabel_enabled,standby)" || "$(dt_nodelabel_enabled,suspend)"
7171

7272
# Enable PM_POLICY_DEVICE_CONSTRAINTS by default when doing PM_DEVICE.
7373
# This will allow support of device power states.

0 commit comments

Comments
 (0)