From: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
To: Srinivas Kandagatla <srini@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>
Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
Subject: [PATCH v4 0/7] ASoC: qcom: add AudioReach TDM backend support
Date: Sun, 12 Jul 2026 19:11:03 +0530 [thread overview]
Message-ID: <20260712134110.3306763-1-prasad.kumpatla@oss.qualcomm.com> (raw)
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.
Changes in v4:
- Addressed comments related to bindings from Rob.
- Link to v3: https://lore.kernel.org/all/20260707190106.2876465-1-prasad.kumpatla@oss.qualcomm.com/
Changes in v3:
- Reusing of tdm-slot.yaml and update the bindings.
- Link to v2: https://lore.kernel.org/all/20260630091605.4043426-1-prasad.kumpatla@oss.qualcomm.com/
Changes in v2:
- Update AR Module token definitions and validation prefixes.
- Reorder module addresses.
- Add kernel-doc for `struct param_id_audio_if_intf_cfg`.
- Remove unused code and stale comments.
- Clean up comments and naming in q6apm-lpass-ports.h.
- Add bindings for TDM slots.
- Link to v1: https://lore.kernel.org/all/20260610154517.134570-1-prasad.kumpatla@oss.qualcomm.com/
This series depends on:
- https://lore.kernel.org/all/20260711125740.3083236-1-mohammad.rafi.shaik@oss.qualcomm.com/
Prasad Kumpatla (7):
ASoC: qcom: qdsp6: add topology-driven Audio IF support
ASoC: qcom: q6apm-lpass-dais: add TDM DAI operations
ASoC: dt-bindings: qcom,q6dsp-lpass-ports: add Audio IF clocks
ASoC: qcom: qdsp6: q6prm: add Audio IF clock IDs
Asoc: dt-bindings: qcom,sm8250: Add TDM slot properties
ASoC: qcom: common: add DAI-node TDM slot helpers
ASoC: qcom: sc8280xp: add TDM hw_params support
.../bindings/sound/qcom,sm8250.yaml | 16 ++
.../sound/qcom,q6dsp-lpass-ports.h | 29 +++
include/uapi/sound/snd_ar_tokens.h | 89 ++++++++++
sound/soc/qcom/common.c | 165 ++++++++++++++++++
sound/soc/qcom/common.h | 14 ++
sound/soc/qcom/qdsp6/audioreach.c | 97 ++++++++++
sound/soc/qcom/qdsp6/audioreach.h | 81 +++++++++
sound/soc/qcom/qdsp6/q6apm-lpass-dais.c | 57 ++++++
sound/soc/qcom/qdsp6/q6prm-clocks.c | 28 +++
sound/soc/qcom/qdsp6/q6prm.h | 29 +++
sound/soc/qcom/qdsp6/topology.c | 105 +++++++++++
sound/soc/qcom/sc8280xp.c | 60 +++++++
12 files changed, 770 insertions(+)
base-commit: bee763d5f341b99cf472afeb508d4988f62a6ca1
prerequisite-patch-id: 28f571976819748d886ecdd32e1ea3976440374b
prerequisite-patch-id: 1b00c4a50852a4058eb2e1e609769ba067fd8d4a
prerequisite-patch-id: 6320a0e2ad587fa5c7fe999ae168689af724a4af
--
2.34.1
next reply other threads:[~2026-07-12 13:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-12 13:41 Prasad Kumpatla [this message]
2026-07-12 13:41 ` [PATCH v4 1/7] ASoC: qcom: qdsp6: add topology-driven Audio IF support Prasad Kumpatla
2026-07-14 8:24 ` Srinivas Kandagatla
2026-07-15 9:36 ` Prasad Kumpatla
2026-07-12 13:41 ` [PATCH v4 2/7] ASoC: qcom: q6apm-lpass-dais: add TDM DAI operations Prasad Kumpatla
2026-07-14 8:32 ` Srinivas Kandagatla
2026-07-15 9:46 ` Prasad Kumpatla
2026-07-12 13:41 ` [PATCH v4 3/7] ASoC: dt-bindings: qcom,q6dsp-lpass-ports: add Audio IF clocks Prasad Kumpatla
2026-07-14 8:33 ` Srinivas Kandagatla
2026-07-12 13:41 ` [PATCH v4 4/7] ASoC: qcom: qdsp6: q6prm: add Audio IF clock IDs Prasad Kumpatla
2026-07-14 8:36 ` Srinivas Kandagatla
2026-07-12 13:41 ` [PATCH v4 5/7] Asoc: dt-bindings: qcom,sm8250: Add TDM slot properties Prasad Kumpatla
2026-07-13 6:50 ` Krzysztof Kozlowski
2026-07-12 13:41 ` [PATCH v4 6/7] ASoC: qcom: common: add DAI-node TDM slot helpers Prasad Kumpatla
2026-07-12 13:41 ` [PATCH v4 7/7] ASoC: qcom: sc8280xp: add TDM hw_params support Prasad Kumpatla
2026-08-01 0:05 ` [PATCH v4 0/7] ASoC: qcom: add AudioReach TDM backend support Mark Brown
2026-08-03 9:39 ` Prasad Kumpatla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260712134110.3306763-1-prasad.kumpatla@oss.qualcomm.com \
--to=prasad.kumpatla@oss.qualcomm.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh@kernel.org \
--cc=srini@kernel.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox