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 <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2025-05-07 09:36:29 -05:00 committed by Benjamin Cabé
commit ddce1e1c67

View file

@ -67,7 +67,7 @@ config SYS_CLOCK_TICKS_PER_SEC
# as we use the TURN_OFF and TURN_ON actions to recover
# from Standby mode (PM Mode 3)
config PM_DEVICE
default y if "$(dt_nodelabel_enabled,standby)"
default y if "$(dt_nodelabel_enabled,standby)" || "$(dt_nodelabel_enabled,suspend)"
# Enable PM_POLICY_DEVICE_CONSTRAINTS by default when doing PM_DEVICE.
# This will allow support of device power states.