[PATCH v3 0/2] pinctrl: qcom: lpass-lpi: Switch to PM clock framework
From: Ajay Kumar Nandam
Date: Fri May 08 2026 - 07:39:06 EST
This series moves LPASS LPI pinctrl runtime clock control to the PM
clock framework and ensures GPIO register accesses runtime-resume the
block before MMIO.
The common LPASS LPI core now uses PM clocks and autosuspend. Runtime PM
callbacks are wired for all LPASS LPI variant drivers sharing the common
core so behavior is consistent across SoCs using DT-provided clocks via
of_pm_clk_add_clks().
---
v2: https://lore.kernel.org/all/20260420123135.350446-1-ajay.nandam@xxxxxxxxxxxxxxxx/
v1: https://lore.kernel.org/r/20260413122233.375945-1-ajay.nandam@xxxxxxxxxxxxxxxx
Changes since v2:
- Reordered series for bisect safety:
- patch 1 wires runtime PM ops for all LPASS LPI variants first
- patch 2 converts the shared core to pm_clk + runtime PM access paths
- Dropped the standalone "Resume clocks for GPIO access" patch and folded
those changes into the core conversion patch
- Added runtime PM ops wiring for milos/sdm660/sdm670 in the first patch
so all variant drivers are covered before core conversion
- Rebased on latest linux-next
Testing:
- Runtime behavior validated on Kodiak (sc7280)
- Wider runtime testing on other LPASS LPI variants is welcome
Ajay Kumar Nandam (2):
pinctrl: qcom: lpass-lpi: Enable runtime PM hooks on remaining SoCs
pinctrl: qcom: lpass-lpi: Switch to PM clock framework for runtime PM
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 109 +++++++++++++-----
.../pinctrl/qcom/pinctrl-milos-lpass-lpi.c | 7 ++
.../pinctrl/qcom/pinctrl-sc7280-lpass-lpi.c | 7 ++
.../pinctrl/qcom/pinctrl-sc8280xp-lpass-lpi.c | 11 +-
.../pinctrl/qcom/pinctrl-sdm660-lpass-lpi.c | 7 ++
.../pinctrl/qcom/pinctrl-sdm670-lpass-lpi.c | 7 ++
.../pinctrl/qcom/pinctrl-sm4250-lpass-lpi.c | 7 ++
.../pinctrl/qcom/pinctrl-sm6115-lpass-lpi.c | 7 ++
.../pinctrl/qcom/pinctrl-sm8250-lpass-lpi.c | 11 +-
.../pinctrl/qcom/pinctrl-sm8450-lpass-lpi.c | 11 +-
.../pinctrl/qcom/pinctrl-sm8550-lpass-lpi.c | 11 +-
.../pinctrl/qcom/pinctrl-sm8650-lpass-lpi.c | 11 +-
12 files changed, 164 insertions(+), 42 deletions(-)
--
2.34.1