mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2026-07-05 18:41:21 +00:00
The J7 platforms support LPM_BOARDCFG_MANAGED[1] capability where the low power mode configuration is done statically for the DM via the pm-boardcfg. The specific suspend modes (eg: LPM_SOC_OFF, LPM_MCU_ONLY) are not sent as a separate firmware capability like they are in the case of LPM_DM_MANAGED. Hence, split the firmware capability check to first look for the DM_MANAGED or BOARDCFG_MANAGED capability and register the pwr_domain_suspend psci callback accordingly. Introduce LPM_BOARDCFG_MANAGED cap to handle suspend for J7 platforms as well. Link: [1] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html#tisci-msg-query-fw-caps Change-Id: Iaa0ab478cbe0db6652f61e9d733c0fddb4bab234 Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>