From: sashiko-bot@kernel.org
To: "Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, mfd@lists.linux.dev,
conor+dt@kernel.org, lee@kernel.org
Subject: Re: [PATCH v4 3/4] arm64: dts: arduino-imola: add support for sound
Date: Wed, 30 Sep 2026 13:01:33 +0000 [thread overview]
Message-ID: <20260930130134.75DFD1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260930124607.1109167-4-srinivas.kandagatla@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] ASoC: qrb2210-sndcard: duplicate BE DAI links for RX_CODEC_DMA_RX_0
--
commit d222aeffc646b4d2645c81200f3c926432d5d57b
Author: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
arm64: dts: arduino-imola: add support for sound
This commit adds sound support for the Arduino UNO Q board, enabling headset
playback and record, lineout, and ear out functionalities. It updates the
pm4125 device tree include and introduces audio routing and DAI links in the
arduino-imola device tree.
> diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
> index c472e13fceca4..e99d2a56dc287 100644
> --- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
> +++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
[ ... ]
> + ear-playback-dai-link {
> + link-name = "Ear Out Playback";
> +
> + codec {
> + sound-dai = <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>;
> + };
> +
> + cpu {
> + sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
> + };
[ ... ]
> + hph-playback-dai-link {
> + link-name = "Headphones Playback";
> +
> + codec {
> + sound-dai = <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>;
> + };
> +
> + cpu {
> + sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
> + };
[ ... ]
> + lo-playback-dai-link {
> + link-name = "Line Out Playback";
> +
> + codec {
> + sound-dai = <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>;
> + };
> +
> + cpu {
> + sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
> + };
[Severity: Low]
Are we creating redundant backend DAI links for the exact same physical CPU
DAI (RX_CODEC_DMA_RX_0) here?
In ASoC DPCM, dpcm_get_be() returns only the first RTD it matches for a given
widget. Because of this, it appears DPCM will strictly only use the
ear-playback-dai-link, while the hph-playback-dai-link and
lo-playback-dai-link will be ignored and their hardware operations will
never execute concurrently.
Could these be consolidated into a single backend DAI link, relying on the
pm4125 codec's internal DAPM graph to handle multiplexing the single backend
stream to the Ear, Headphone, and Lineout pins?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260930124607.1109167-1-srinivas.kandagatla@oss.qualcomm.com?part=3
next prev parent reply other threads:[~2026-09-30 13:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 12:46 [PATCH v4 0/4] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-09-30 12:46 ` [PATCH v4 1/4] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4125-codec Srinivas Kandagatla
2026-09-30 12:51 ` sashiko-bot
2026-10-02 6:07 ` Krzysztof Kozlowski
2026-09-30 12:46 ` [PATCH v4 2/4] arm64: dts: qcom: agatti: add LPASS devices Srinivas Kandagatla
2026-09-30 12:56 ` sashiko-bot
2026-09-30 12:46 ` [PATCH v4 3/4] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-09-30 13:01 ` sashiko-bot [this message]
2026-09-30 12:46 ` [PATCH v4 4/4] arm64: defconfig: Enable pm4125 audio codec driver Srinivas Kandagatla
2026-09-30 12:49 ` sashiko-bot
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=20260930130134.75DFD1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=mfd@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=srinivas.kandagatla@oss.qualcomm.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