[PATCH v2 0/2] clk: qcom: add SM8650 LPASS core & audio clock controllers

From: Neil Armstrong

Date: Tue Nov 24 2026 - 12:02:13 EST


This patchset is part of a serie adding the necessary plumbing to
drive the SM8650 audio interfaces directly from Linux.
This is required for boards like the Valve Deckard that boot Linux at EL2
without the ADSP audio firmware, meaning the audio interfaces must be driven
directly by the application processor through lpass-cpu.

This patchset is forked from the monoliothic v1 at [1].

Without the ADSP firmware, the LPASS clocks (MI2S bit clocks,
codec macro MCLKs, LPM memory clocks) must be controlled by Linux.

[1] https://patch.msgid.link/20261113-topic-sm8650-el2-v1-0-5183f6aab9fc@xxxxxxxxxx

Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
---
Changes in v2:
- Fix qcom,sm8650-lpasscorecc.yaml example
- Correct lpass_aon_cc_ext_if1_clk_src parent map
- Add freq_tbl to lpass_aon_cc_main_rcg_clk_src
- Drop comments
- Drop useless lpass_aon_cc_tx_mclk_clk forward declaration
- Add common probe for lpass_audio & lpass_aon
- Use correct PM macro
- Use pm_ptr()
- Unregister aon_cc if audio_cc fails to register
- Fix corecc pll user_ctl_val and ops
- Fix parent data index
- Drop pm for lpasscorecc-sm8650
- Unregister lpass_hm if lpass_core fails to register
- Link to v1: https://patch.msgid.link/20261113-topic-sm8650-el2-v1-0-5183f6aab9fc@xxxxxxxxxx

---
Neil Armstrong (2):
dt-bindings: clock: qcom: add SM8650 LPASS core & audio clock controllers
clk: qcom: add SM8650 LPASS core & audio clock controllers

.../bindings/clock/qcom,sm8650-lpasscorecc.yaml | 178 +++++
drivers/clk/qcom/Kconfig | 12 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/lpassaudiocc-sm8650.c | 761 +++++++++++++++++++++
drivers/clk/qcom/lpasscorecc-sm8650.c | 506 ++++++++++++++
.../dt-bindings/clock/qcom,lpassaudiocc-sm8650.h | 47 ++
.../dt-bindings/clock/qcom,lpasscorecc-sm8650.h | 30 +
7 files changed, 1535 insertions(+)
---
base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726
change-id: 20261113-topic-sm8650-el2-clks-c6caf4237ca7

Best regards,
--
Neil Armstrong <neil.armstrong@xxxxxxxxxx>