Add audio XCVR sound card, which supports SPDIF TX & RX only,
eARC RX, ARC RX are not supported.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
---
.../boot/dts/freescale/imx93-14x14-evk.dts | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
index e47fee24471a..61843b2c1b1b 100644
--- a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
@@ -192,6 +192,19 @@ btcpu: simple-audio-card,cpu {
};
};
+ sound-xcvr {
+ compatible = "fsl,imx-audio-card";
+ model = "imx-audio-xcvr";
+
+ pri-dai-link {
+ link-name = "XCVR PCM";
+
+ cpu {
+ sound-dai = <&xcvr>;
+ };
+ };
+ };
+
usdhc3_pwrseq: usdhc3_pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&pcal6524 12 GPIO_ACTIVE_LOW>;
@@ -468,6 +481,17 @@ &wdog3 {
status = "okay";
};
+&xcvr {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spdif>;
+ assigned-clocks = <&clk IMX93_CLK_SPDIF>,
+ <&clk IMX93_CLK_AUDIO_XCVR>;
+ assigned-clock-parents = <&clk IMX93_CLK_AUDIO_PLL>,
+ <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>;
+ assigned-clock-rates = <12288000>, <200000000>;
+ status = "okay";
+};
+
&iomuxc {
pinctrl_flexcan1: flexcan1grp {
fsl,pins = <
@@ -611,6 +635,13 @@ MX93_PAD_SAI1_RXD0__SAI1_RX_DATA00 0x31e
>;
};
+ pinctrl_spdif: spdifgrp {
+ fsl,pins = <
+ MX93_PAD_GPIO_IO22__SPDIF_IN 0x31e
+ MX93_PAD_GPIO_IO23__SPDIF_OUT 0x31e
+ >;
+ };
+
pinctrl_usdhc2_gpio: usdhc2gpiogrp {
fsl,pins = <
MX93_PAD_SD2_CD_B__GPIO3_IO00 0x31e
--
2.50.1
On Mon, Dec 01, 2025 at 03:58:44PM +0900, Chancel Liu wrote:
> Add audio XCVR sound card, which supports SPDIF TX & RX only,
> eARC RX, ARC RX are not supported.
nit: next time, wrap at 75 char.
Reviewed-by: Frank Li <Frank.Li@nxp.com>
>
> Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
> ---
> .../boot/dts/freescale/imx93-14x14-evk.dts | 31 +++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
> index e47fee24471a..61843b2c1b1b 100644
> --- a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
> @@ -192,6 +192,19 @@ btcpu: simple-audio-card,cpu {
> };
> };
>
> + sound-xcvr {
> + compatible = "fsl,imx-audio-card";
> + model = "imx-audio-xcvr";
> +
> + pri-dai-link {
> + link-name = "XCVR PCM";
> +
> + cpu {
> + sound-dai = <&xcvr>;
> + };
> + };
> + };
> +
> usdhc3_pwrseq: usdhc3_pwrseq {
> compatible = "mmc-pwrseq-simple";
> reset-gpios = <&pcal6524 12 GPIO_ACTIVE_LOW>;
> @@ -468,6 +481,17 @@ &wdog3 {
> status = "okay";
> };
>
> +&xcvr {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_spdif>;
> + assigned-clocks = <&clk IMX93_CLK_SPDIF>,
> + <&clk IMX93_CLK_AUDIO_XCVR>;
> + assigned-clock-parents = <&clk IMX93_CLK_AUDIO_PLL>,
> + <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>;
> + assigned-clock-rates = <12288000>, <200000000>;
> + status = "okay";
> +};
> +
> &iomuxc {
> pinctrl_flexcan1: flexcan1grp {
> fsl,pins = <
> @@ -611,6 +635,13 @@ MX93_PAD_SAI1_RXD0__SAI1_RX_DATA00 0x31e
> >;
> };
>
> + pinctrl_spdif: spdifgrp {
> + fsl,pins = <
> + MX93_PAD_GPIO_IO22__SPDIF_IN 0x31e
> + MX93_PAD_GPIO_IO23__SPDIF_OUT 0x31e
> + >;
> + };
> +
> pinctrl_usdhc2_gpio: usdhc2gpiogrp {
> fsl,pins = <
> MX93_PAD_SD2_CD_B__GPIO3_IO00 0x31e
> --
> 2.50.1
>
© 2016 - 2025 Red Hat, Inc.