]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: qcom: lpass-lpi: Switch to PM clock framework for runtime PM
authorAjay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
Fri, 22 May 2026 20:46:44 +0000 (02:16 +0530)
committerLinus Walleij <linusw@kernel.org>
Mon, 8 Jun 2026 08:46:42 +0000 (10:46 +0200)
commitb719ede389d8a6b3fb24d3a6641fec2e46d8ff36
treeb12b611de4fde999d0c29da4e7897ed573ce22e5
parentf0c565076d56407b4a1b9e75328df0f3adaa0194
pinctrl: qcom: lpass-lpi: Switch to PM clock framework for runtime PM

Convert the LPASS LPI pinctrl driver to use the PM clock framework for
runtime power management.

This allows the LPASS LPI pinctrl driver to drop clock votes when idle,
improves power efficiency on platforms using LPASS LPI island mode, and
aligns the driver with common runtime PM patterns used across Qualcomm
LPASS subsystems.

Guard GPIO register read/write helpers and slew-rate register programming
with synchronous runtime PM calls so the device is active during MMIO
operations whenever autosuspend is enabled.

Make PINCTRL_LPASS_LPI depend on PM_CLK, since this patch introduces
direct PM clock API use in the shared core.

Suggested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/qcom/Kconfig
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c