Re: [PATCH v8 2/2] clk: qcom: Add LPASS VA CSR heartbeat pulse clock
From: Prasad Kumpatla
Date: Fri Sep 18 2026 - 00:40:51 EST
On 9/17/2026 7:27 PM, Sarath Ganapathiraju via B4 Relay wrote:
From: Sarath Ganapathiraju <sarath.ganapathiraju@xxxxxxxxxxxxxxxx>
The HeartBeat Pulse, also known as RateGen Pulse, synchronizes the
start of DMAs and Codec Interfaces for the audio usecases and can
serve as a periodic wakeup source for the DSP.
Add the LPASS VA CSR driver that models the rate generator as a clock
provider so it is enabled and disabled automatically alongside the
other clocks during runtime PM resume and suspend.
Attach the DT vote clocks to runtime PM and resume the device before
programming the rate generator registers, so register accesses happen
only after the LPASS votes are active.
Signed-off-by: Sarath Ganapathiraju <sarath.ganapathiraju@xxxxxxxxxxxxxxxx>
Validated on Hawi and Maili platforms for WCD-Headset playback.
Reviewed-by: Prasad Kumpatla<prasad.kumpatla@xxxxxxxxxxxxxxxx>
Tested-by: Prasad Kumpatla<prasad.kumpatla@xxxxxxxxxxxxxxxx>
Thanks,
Prasad