[PATCH v3 0/3] ASoC: qcom: lpass: Switch VA/WSA macros to PM clock framework

From: Ajay Kumar Nandam

Date: Fri May 08 2026 - 07:35:27 EST


This series converts LPASS WSA and VA macro codec drivers to the PM
clock framework for runtime PM clock handling.

Clock enable/disable sequencing during runtime suspend/resume is moved
to pm_clk helpers, while regcache state handling remains in the driver
runtime PM callbacks. This aligns these codec drivers with common LPASS
runtime PM patterns and reduces idle clock voting.

Patch 3 switches WSA MCLK clock registration to devm-managed
clk_hw registration.

---
v2: https://lore.kernel.org/all/20260420122843.327171-1-ajay.nandam@xxxxxxxxxxxxxxxx/
v1: https://lore.kernel.org/r/20260413121824.375473-1-ajay.nandam@xxxxxxxxxxxxxxxx

Changes since v2:
- VA: drop redundant put in pm_runtime_resume_and_get() error path
(per review)
- VA: switch fsgen error unwind to pm_runtime_put_sync_suspend() after
successful runtime resume
- VA: fix probe runtime PM unwind labels so pm_runtime_disable() is only
hit after pm_runtime_enable()
- Rebased on latest linux-next

Ajay Kumar Nandam (3):
ASoC: codecs: lpass-wsa-macro: Switch to PM clock framework for
runtime PM
ASoC: codecs: lpass-va-macro: Switch to PM clock framework for runtime
PM
ASoC: codecs: lpass-wsa-macro: Use devm_clk_hw_register() for MCLK
output

sound/soc/codecs/lpass-va-macro.c | 121 ++++++++++++++---------------
sound/soc/codecs/lpass-wsa-macro.c | 113 +++++++++------------------
2 files changed, 94 insertions(+), 140 deletions(-)

--
2.34.1