[PATCH 6/7] arm64: dts: imx95-19x19-evk: Add DMIC codec to replace dummy codec for micfil

shengjiu.wang at oss.nxp.com shengjiu.wang at oss.nxp.com
Thu Nov 19 19:18:52 PST 2026


From: Shengjiu Wang <shengjiu.wang at nxp.com>

The "fsl,imx-audio-card" machine driver uses a dummy codec by default
which does not allow configuring the channel number according to the
board design. Replace it with a proper "dmic-codec" node configured
for 2 channels to match the DMIC hardware layout on the i.MX95 19x19
EVK board.

Fixes: 288c31c92f45 ("arm64: dts: imx95-19x19-evk: Add audio related nodes")
Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>
---
 arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
index 47ed0ef67611..86ad58d033f9 100644
--- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
@@ -52,6 +52,12 @@ chosen {
 		stdout-path = &lpuart1;
 	};
 
+	dmic: dmic {
+		compatible = "dmic-codec";
+		#sound-dai-cells = <0>;
+		num-channels = <2>;
+	};
+
 	memory at 80000000 {
 		device_type = "memory";
 		reg = <0x0 0x80000000 0 0x80000000>;
@@ -278,6 +284,11 @@ sound-micfil {
 		pri-dai-link {
 			link-name = "micfil hifi";
 			format = "i2s";
+
+			codec {
+				sound-dai = <&dmic>;
+			};
+
 			cpu {
 				sound-dai = <&micfil>;
 			};
-- 
2.34.1




More information about the linux-arm-kernel mailing list