[PATCH v1 0/6] ASoC: qcom: add AudioReach TDM backend support
From: Prasad Kumpatla
Date: Wed Jun 10 2026 - 12:06:12 EST
Add AudioReach support for LPASS Audio IF based TDM backends and wire it
up for the sc8280xp machine driver.
The series first adds topology-driven Audio IF source/sink handling so
the DSP interface parameters can be described by topology while runtime
media format and slot configuration still come from the machine driver.
It then adds TDM DAI operations for q6apm-lpass-dais, exposes the Audio
IF clock IDs through the q6dsp-lpass-ports binding and q6prm clock
tables, and introduces common QCOM helpers for parsing standard
dai-tdm-slot-* properties from backend CPU and codec endpoints.
Finally, sc8280xp uses the common helpers during hw_params to program
CPU and codec TDM slots, derive the backend bit clock from the active
PCM parameters, and request the CPU and codec clocks before the stream is
started.
This series depends on:
- https://lore.kernel.org/all/20260607-rubikpi-next-20260605-v1-3-7f334e16fea6@xxxxxxxxxxxxxxx/
- https://lore.kernel.org/linux-arm-msm/20260608023011.942228-1-mohammad.rafi.shaik@xxxxxxxxxxxxxxxx/
Prasad Kumpatla (6):
ASoC: qcom: qdsp6: add topology-driven Audio IF support
ASoC: qcom: q6apm-lpass-dais: add TDM DAI operations
dt-bindings: sound: qcom,q6dsp-lpass-ports: add Audio IF clocks
ASoC: qcom: q6prm: add Audio IF clock IDs
ASoC: qcom: common: add DAI-node TDM slot helpers
ASoC: qcom: sc8280xp: add TDM hw_params support
.../sound/qcom,q6dsp-lpass-ports.h | 57 ++++++
include/uapi/sound/snd_ar_tokens.h | 58 +++++++
sound/soc/qcom/common.c | 164 ++++++++++++++++++
sound/soc/qcom/common.h | 14 ++
sound/soc/qcom/qdsp6/audioreach.c | 97 +++++++++++
sound/soc/qcom/qdsp6/audioreach.h | 62 +++++++
sound/soc/qcom/qdsp6/q6apm-lpass-dais.c | 64 ++++++-
sound/soc/qcom/qdsp6/q6prm-clocks.c | 28 +++
sound/soc/qcom/qdsp6/q6prm.h | 29 ++++
sound/soc/qcom/qdsp6/topology.c | 108 ++++++++++++
sound/soc/qcom/sc8280xp.c | 59 +++++++
11 files changed, 739 insertions(+), 1 deletion(-)
base-commit: 49e02880ec0a8c378e811bc9d85da188d7c6204c
prerequisite-patch-id: 2f1bd3efac328030dd8efe28fb95f84603868043
prerequisite-patch-id: 047b4fb1894b92109aa7afcebd7d5c7988ec5379
prerequisite-patch-id: 222630a15afc952683d954a3c66617a223546de0
prerequisite-patch-id: 3c55edb41f1e25920a350ce1c6f31fde67fee45a
--
2.34.1