Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: sm8450-hdk sound probe fails due to enabled
  HDMI DAI link
--

commit 2845e74d5b67d8963c4614b68345c54b82ab8dfb
Author: Vladimir Zapolskiy <[email protected]>

arm64: dts: qcom: sm8450-hdk: Add display card overlay

This commit adds a devicetree overlay for the SM8450 HDK external display
card with a Novatek NT36672E DSI panel and disables the mutually exclusive
on-board Lontium LT9611UXC HDMI bridge.

> diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk-display-card.dtso 
> b/arch/arm64/boot/dts/qcom/sm8450-hdk-display-card.dtso
> new file mode 100644
> index 0000000000000..3fcaae7f2abc0
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk-display-card.dtso
> @@ -0,0 +1,144 @@

[ ... ]

> +/* Disable HDMI bridge related nodes (mutually exclusive with the display 
> card) */
> +
> +&i2c9 {
> +     status = "disabled";
> +};
> +
> +&lt9611_1v2 {
> +     status = "disabled";
> +};
> +
> +&lt9611_3v3 {
> +     status = "disabled";
> +};
> +
> +&lt9611_codec {
> +     status = "disabled";
> +};

[Severity: High]
Does disabling lt9611_codec without disabling the HDMI MI2S DAI link under
&sound break the sound card probe?

In arch/arm64/boot/dts/qcom/sm8450-hdk.dts, the prim-mi2s-dai-link child node
of &sound remains enabled and references <&lt9611_codec 0>:

arch/arm64/boot/dts/qcom/sm8450-hdk.dts:
        prim-mi2s-dai-link {
                link-name = "HDMI Playback";
                ...
                codec {
                        sound-dai = <&lt9611_codec 0>;
                };

When qcom_snd_parse_of() iterates the available child nodes of &sound,
snd_soc_of_get_dai_link_codecs() fails with -EPROBE_DEFER because
lt9611_codec is disabled and never registers a codec component, preventing
the entire sound card from registering.  Like sm8550-hdk-display-card.dtso,
prim-mi2s-dai-link can be given a label in sm8450-hdk.dts and disabled in
this overlay.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=8

Reply via email to