[PATCH 6/6] arm64: dts: qcom: qrb2210-arduino-imola: add DP audio playback

From: Riccardo Mereu

Date: Tue Dec 01 2026 - 08:13:11 EST


From: Riccardo Mereu <r.mereu@xxxxxxxxxx>

The UNO Q drives DisplayPort over its USB-C port through an ANX7625
bridge. The bridge takes audio on an I2S input wired to the LPASS
Secondary MI2S interface, data on SD0.

Describe that path: make the ANX7625 a DAI provider, give Secondary
MI2S its data line, select the LPI I2S2 pins, and add a DP playback
link to the sound card.

The ANX7625 takes standard I2S with its channel length fixed to 32
bits, so the link sets a 32-bit cpu slot width. The link name matches
the one used on RB1, and a MultiMedia4 frontend is added because the
qcm2290 UCM configuration plays HDMI/DP audio on it.

The DSI lanes also go to a panel connector. A panel there takes DSI0
away from the ANX7625, which then does not register its DAI, and the
whole sound card fails to probe. Label the DP link and build the DTB
with symbols, so that a panel overlay can disable the link.

Signed-off-by: Riccardo Mereu <r.mereu@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../boot/dts/qcom/qrb2210-arduino-imola.dts | 43 +++++++++++++++++++
2 files changed, 44 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 19310879349d..21248c7525c9 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -277,6 +277,7 @@ qcs9100-ride-r3-el2-dtbs := qcs9100-ride-r3.dtb lemans-el2.dtbo
dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-r3-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb
+DTC_FLAGS_qrb2210-arduino-imola := -@
dtb-$(CONFIG_ARCH_QCOM) += qrb2210-arduino-imola.dtb
dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb

diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
index e99d2a56dc28..0754f3271496 100644
--- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
+++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
@@ -112,6 +112,8 @@ multi-led {

sound {
compatible = "qcom,qrb2210-sndcard";
+ pinctrl-0 = <&lpi_i2s2_active>;
+ pinctrl-names = "default";
model = "Arduino-Imola-HPH-LOUT";
audio-routing = "IN1_HPHL", "HPHL_OUT",
"IN2_HPHR", "HPHR_OUT",
@@ -133,6 +135,23 @@ platform {
};
};

+ dp_audio_link: hdmi-i2s-dai-link {
+ link-name = "HDMI/I2S Playback";
+
+ codec {
+ sound-dai = <&anx7625 0>;
+ };
+
+ cpu {
+ sound-dai = <&q6afedai SECONDARY_MI2S_RX>;
+ dai-tdm-slot-width = <32>;
+ };
+
+ platform {
+ sound-dai = <&q6routing>;
+ };
+ };
+
hph-capture-dai-link {
link-name = "Headphones Capture";

@@ -204,6 +223,14 @@ cpu {
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
};
};
+
+ mm4-dai-link {
+ link-name = "MultiMedia4";
+
+ cpu {
+ sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
+ };
+ };
};

vreg_anx_30: regulator-anx-30 {
@@ -256,6 +283,7 @@ anx7625: encoder@58 {
vdd10-supply = <&pm4125_l11>;
vdd18-supply = <&pm4125_l15>;
vdd33-supply = <&vreg_anx_30>;
+ #sound-dai-cells = <1>;
analogix,audio-enable;
analogix,lane0-swing = /bits/ 8 <0x14 0x54 0x64 0x74>;
analogix,lane1-swing = /bits/ 8 <0x14 0x54 0x64 0x74>;
@@ -337,6 +365,21 @@ &pm4125_vbus {
status = "okay";
};

+/* Secondary MI2S uses SD0 for audio on the ANX7625 DP bridge */
+&q6afedai {
+ dai@18 {
+ reg = <SECONDARY_MI2S_RX>;
+ qcom,sd-lines = <0>;
+ };
+};
+
+/* The qcm2290 UCM plays DP audio on MultiMedia4 */
+&q6asmdai {
+ dai@3 {
+ reg = <MSM_FRONTEND_DAI_MULTIMEDIA4>;
+ };
+};
+
&qupv3_id_0 {
status = "okay";
};
--
2.56.1


--





Privacy and Confidentiality Notice: This email and all attachments are
confidential and for the designated recipient(s) only. They may also be
privileged. If you are not the intended recipient or among the intended
recipients, you may not use, read, retransmit, disseminate, store/copy the
information in any medium or take any action in reliance upon it. Please
notify the sender that you have received it in error and immediately delete
the entire communication, including any attachments.