ASoC: qcom: lpass: Switch VA/WSA macros to PM clock framework

Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com> says:

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

The runtime clock enable/disable sequencing is moved to PM clock helpers
for clocks described in device tree, while regcache state handling remains
in the codec runtime PM callbacks. This keeps register cache synchronization
explicit in the driver and lets runtime PM drop codec clock votes when the
macros are idle.

The series also keeps WSA MCLK-output clock registration resource-managed
by switching it to devm_clk_hw_register(), which allows the empty WSA remove
callback to be dropped.

Link: https://patch.msgid.link/20260702-xo-sd-codec-v7-b4-v8-0-d39d0fdb7859@oss.qualcomm.com
This commit is contained in:
Mark Brown 2026-07-03 14:54:37 +01:00
commit 4119e9b30c
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 122 additions and 142 deletions