[PATCH v2 0/2] pinctrl: qcom: lpass-lpi: Force runtime suspend on system sleep

From: Gopi Chandra Sekhar Reddy Kanala

Date: Wed Nov 18 2026 - 08:38:07 EST


The LPASS LPI pin controllers only have runtime PM callbacks, so their
clock votes stay held across system suspend when a consumer, such as a
SoundWire controller, is active when suspend starts. On Glymur CRD this
keeps CX and DDR from collapsing in s2idle.

Patch 1 moves the dev_pm_ops, which are the same in every SoC-specific
driver, into the common driver. Patch 2 adds pm_runtime_force_suspend()
and pm_runtime_force_resume() as the system sleep callbacks there, so
the fix covers all the SoC-specific drivers.

Tested on Glymur CRD (pinctrl-sm8650-lpass-lpi) with next-20261113.
When s2idle is entered right after playback, the LPI clock votes are
now released during suspend and restored on resume. Playback works
after resume. The other SoC-specific drivers are compile-tested only.

---
Changes in v2:
- Move the dev_pm_ops into the common driver and apply the fix to all
LPASS LPI drivers, not only sm8650 (Konrad, Bartosz)
- Link to v1: https://lore.kernel.org/r/20261112-lpass-lpi-system-sleep-v1-1-438cb997e0e9@xxxxxxxxxxxxxxxx

---
Gopi Chandra Sekhar Reddy Kanala (2):
pinctrl: qcom: lpass-lpi: Move dev_pm_ops to the common driver
pinctrl: qcom: lpass-lpi: Force runtime suspend on system sleep

drivers/pinctrl/qcom/pinctrl-hawi-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 5 +++++
drivers/pinctrl/qcom/pinctrl-lpass-lpi.h | 3 +++
drivers/pinctrl/qcom/pinctrl-milos-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sc7280-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sc8280xp-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sdm660-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sdm670-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sm4250-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sm6115-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sm6350-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sm8250-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sm8450-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sm8550-lpass-lpi.c | 6 ------
drivers/pinctrl/qcom/pinctrl-sm8650-lpass-lpi.c | 6 ------
15 files changed, 8 insertions(+), 78 deletions(-)
---
base-commit: 84abb955b1015477aa11a96e2f3ac1b938b77f48
change-id: 20261112-lpass-lpi-system-sleep-70c4d2239abe

Best regards,
--
Gopi Chandra Sekhar Reddy Kanala <gopi.kanala@xxxxxxxxxxxxxxxx>