Skip to content

Commit 710bdbe

Browse files
TE-N-ShengjiuWangShawn Guo
authored andcommitted
arm64: dts: imx8mp-evk: Add audio XCVR sound card
Add audio XCVR sound card, which supports SPDIF TX & RX, eARC RX, ARC RX functions. HDMI_HPD is shared with the HDMI module so use pinctrl_hog. Signed-off-by: Shengjiu Wang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 29c4d4c commit 710bdbe

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

arch/arm64/boot/dts/freescale/imx8mp-evk.dts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,19 @@
209209
};
210210
};
211211

212+
sound-xcvr {
213+
compatible = "fsl,imx-audio-card";
214+
model = "imx-audio-xcvr";
215+
216+
pri-dai-link {
217+
link-name = "XCVR PCM";
218+
219+
cpu {
220+
sound-dai = <&xcvr>;
221+
};
222+
};
223+
};
224+
212225
reserved-memory {
213226
#address-cells = <2>;
214227
#size-cells = <2>;
@@ -748,7 +761,15 @@
748761
status = "okay";
749762
};
750763

764+
&xcvr {
765+
#sound-dai-cells = <0>;
766+
status = "okay";
767+
};
768+
751769
&iomuxc {
770+
pinctrl-names = "default";
771+
pinctrl-0 = <&pinctrl_hog>;
772+
752773
pinctrl_audio_pwr_reg: audiopwrreggrp {
753774
fsl,pins = <
754775
MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29 0xd6
@@ -838,6 +859,12 @@
838859
>;
839860
};
840861

862+
pinctrl_hog: hoggrp {
863+
fsl,pins = <
864+
MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000010
865+
>;
866+
};
867+
841868
pinctrl_i2c1: i2c1grp {
842869
fsl,pins = <
843870
MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c2

0 commit comments

Comments
 (0)