Re: [PATCH v1 1/3] pinctrl: qcom: lpass-lpi: Switch to PM clock framework for runtime PM

From: Ajay Kumar Nandam

Date: Mon Apr 20 2026 - 04:56:38 EST




On 4/14/2026 2:03 PM, Konrad Dybcio wrote:
On 4/13/26 2:22 PM, Ajay Kumar Nandam wrote:
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.

Signed-off-by: Ajay Kumar Nandam <ajay.nandam@xxxxxxxxxxxxxxxx>
---

[...]

+int lpi_pinctrl_runtime_suspend(struct device *dev)
+{
+ return pm_clk_suspend(dev);
+}
+EXPORT_SYMBOL_GPL(lpi_pinctrl_runtime_suspend);
+
+int lpi_pinctrl_runtime_resume(struct device *dev)
+{
+ return pm_clk_resume(dev);
+}
+EXPORT_SYMBOL_GPL(lpi_pinctrl_runtime_resume);

You can do:

SET_RUNTIME_PM_OPS(pm_clk_suspend, pm_clk_resume, NULL)

instead

ACK, will post accordingly in v2


Konrad