[PATCH 7/7] arm64: dts: imx95-19x19-frdm-pro: 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:53 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 board.

Fixes: 815fe2e0e65b ("arm64: dts: freescale: add i.MX95 19x19 FRDM PRO board dts")
Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>
---
 arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro.dts
index 5861d46b7e00..dc7ac1f027b6 100644
--- a/arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro.dts
@@ -65,6 +65,12 @@ chosen {
 		stdout-path = &lpuart1;
 	};
 
+	dmic: dmic {
+		compatible = "dmic-codec";
+		#sound-dai-cells = <0>;
+		num-channels = <2>;
+	};
+
 	reg_vref_1v8: regulator-1p8v {
 		compatible = "regulator-fixed";
 		regulator-name = "+V1.8_SW";
@@ -250,6 +256,10 @@ pri-dai-link {
 			format = "i2s";
 			link-name = "micfil hifi";
 
+			codec {
+				sound-dai = <&dmic>;
+			};
+
 			cpu {
 				sound-dai = <&micfil>;
 			};
-- 
2.34.1




More information about the linux-arm-kernel mailing list