From: sashiko-bot@kernel.org
To: "Neil Armstrong" <neil.armstrong@linaro.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5 3/3] arm64: dts: qcom: sm8650-hdk: Enable I2S for HDMI
Date: Thu, 22 Oct 2026 09:33:09 +0000 [thread overview]
Message-ID: <sashiko-outbox-181265@kernel.org> (raw)
In-Reply-To: <20261022-topic-sm8x50-next-hdk-i2s-v5-3-aa1030a75e46@linaro.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] arm64: dts: qcom: HDMI DAI link breaks sound probe with display-card overlay
--
commit 1d7b2eb9f1841da26b5c6030ed7671341483661b
Author: Neil Armstrong <neil.armstrong@linaro.org>
arm64: dts: qcom: sm8650-hdk: Enable I2S for HDMI
This commit adds the primary MI2S DAI link, Q6APM backend DAI clocks, and
TLMM pin configuration needed to route HDMI audio through the LT9611UXC DSI
bridge on the SM8650 HDK.
> diff --git a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
> index 6cb0dc089b17a..eba989e6766bf 100644
> --- a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
> @@ -218,6 +218,22 @@ platform {
> sound-dai = <&q6apm>;
> };
> };
> +
> + pri-mi2s-dai-link {
> + link-name = "HDMI Playback";
> +
> + cpu {
> + sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>;
> + };
> +
> + codec {
> + sound-dai = <<9611_codec 0>;
> + };
> +
> + platform {
> + sound-dai = <&q6apm>;
> + };
> + };
> };
[Severity: High]
Does adding pri-mi2s-dai-link unconditionally here cause a sound card probe
regression when booting with the display-card overlay
(sm8650-hdk-display-card.dtb or
sm8650-hdk-display-card-rear-camera-card.dtb)?
In arch/arm64/boot/dts/qcom/sm8650-hdk-display-card.dtso, both &i2c6 and
<9611_codec are disabled because the DSI lanes are routed to the display
daughterboard instead of the HDMI bridge:
<9611_codec {
status = "disabled";
};
When that overlay is applied, lt9611_codec never probes or registers its ASoC
component, but pri-mi2s-dai-link remains enabled under /sound.
During sound card probe in sc8280xp_platform_probe() -> qcom_snd_parse_of()
(sound/soc/qcom/common.c), for_each_available_child_of_node_scoped() iterates
over every available child node of /sound and resolves the codec DAI via
snd_soc_of_get_dai_link_codecs() -> snd_soc_of_get_dlc() ->
snd_soc_get_dlc() (sound/soc/soc-core.c):
if (codec) {
ret = snd_soc_of_get_dai_link_codecs(dev, codec, link);
if (ret < 0) {
dev_err_probe(dev, ret,
"%s: codec dai not found\n", link->name);
return ret;
}
Because neither of_parse_phandle_with_args() nor snd_soc_get_dlc() checks
of_device_is_available() on the target codec node, snd_soc_get_dlc() returns
-EPROBE_DEFER indefinitely when looking up <9611_codec, causing the entire
sound card probe to defer forever and breaking all audio on the board. (The
same issue also appears to affect prim-mi2s-dai-link in
arch/arm64/boot/dts/qcom/sm8550-hdk.dts with
arch/arm64/boot/dts/qcom/sm8550-hdk-display-card.dtso.)
Should pri-mi2s-dai-link be given a label so that
arch/arm64/boot/dts/qcom/sm8650-hdk-display-card.dtso can set its status to
"disabled" alongside <9611_codec?
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261022-topic-sm8x50-next-hdk-i2s-v5-0-aa1030a75e46@linaro.org?part=3
next prev parent reply other threads:[~2026-10-22 9:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 9:16 [PATCH v5 0/3] arm64: dts: qcom: allow SM[456]50 HDK board to play audio via I2S Neil Armstrong
2026-10-22 9:16 ` [PATCH v5 1/3] arm64: dts: qcom: sm8450-hdk: Enable I2S for HDMI Neil Armstrong
2026-10-22 10:23 ` Dmitry Baryshkov
2026-10-24 20:27 ` Abel Vesa
2026-10-22 9:16 ` [PATCH v5 2/3] arm64: dts: qcom: sm8550-hdk: " Neil Armstrong
2026-10-22 9:32 ` sashiko-bot
2026-10-22 9:44 ` Neil Armstrong
2026-10-22 9:16 ` [PATCH v5 3/3] arm64: dts: qcom: sm8650-hdk: " Neil Armstrong
2026-10-22 9:33 ` sashiko-bot [this message]
2026-10-22 9:44 ` Neil Armstrong
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=sashiko-outbox-181265@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.