Re: [PATCH v8 0/3] ASoC: qcom: lpass: Switch VA/WSA macros to PM clock framework
From: Konrad Dybcio
Date: Thu Jul 02 2026 - 05:42:34 EST
On 7/1/26 8:44 PM, Ajay Kumar Nandam wrote:
> Hi,
>
> 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.
>
> Changes since v7:
> - Dropped va_macro_setup_pm_clocks() helper in the VA patch and inlined
> devm_pm_clk_create() + of_pm_clk_add_clks() directly in probe, matching
> the WSA pattern for consistency.
b4 adds this section automatically for you (see the 'EDITME' below)
Please also run `b4 trailers -u` before `b4 send` - you didn't pull
the tag I gave you on v7 (please don't resend just to fix that, I'll
simply reply once again)
Konrad