+55
−2
Loading
The PM co-processor (device manager or DM) adds the ability to abort entry to a low power mode by clearing the mode selection in the latest version of its firmware (11.01.09) [1]. Enable the ti_sci driver to support the LPM abort call which clears the low power mode selection of the DM. This fixes an issue where failed system suspend attempts would cause subsequent suspends to fail. After system suspend completes, regardless of if system suspend succeeds or fails, the ->complete() hook in TI SCI will be called. In the ->complete() hook, a message will be sent to the DM to clear the current low power mode selection. Clearing the low power mode selection unconditionally will not cause any error in the DM. [1] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/pm/lpm.html Signed-off-by:Kendall Willis <k-willis@ti.com> Reviewed-by:
Ulf Hansson <ulf.hansson@linaro.org> Link: https://patch.msgid.link/20250819195453.1094520-1-k-willis@ti.com Signed-off-by:
Nishanth Menon <nm@ti.com>