* [PATCH 1/7] arm64: dts: imx91-11x11-evk: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 [PATCH 0/7] arm64: dts: imx: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
@ 2026-11-20 3:18 ` shengjiu.wang
2026-11-20 3:18 ` [PATCH 2/7] arm64: dts: imx93-11x11-evk: " shengjiu.wang
` (5 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: shengjiu.wang @ 2026-11-20 3:18 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel, festevam,
shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
From: Shengjiu Wang <shengjiu.wang@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 4 channels to match the DMIC hardware layout on the i.MX91 11x11
EVK board.
Fixes: c85b67e2ab5f ("arm64: dts: imx91-11x11-evk: Add PDM microphone sound card support")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts
index 66466ce001ca..d473c0890048 100644
--- a/arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts
@@ -48,6 +48,12 @@ chosen {
stdout-path = &lpuart1;
};
+ dmic: dmic {
+ compatible = "dmic-codec";
+ #sound-dai-cells = <0>;
+ num-channels = <4>;
+ };
+
pdm_mqs1_mux: mux-controller-0 {
compatible = "gpio-mux";
#mux-control-cells = <0>;
@@ -186,6 +192,10 @@ pri-dai-link {
link-name = "micfil hifi";
format = "i2s";
+ codec {
+ sound-dai = <&dmic>;
+ };
+
cpu {
sound-dai = <&micfil>;
};
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 2/7] arm64: dts: imx93-11x11-evk: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 [PATCH 0/7] arm64: dts: imx: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
2026-11-20 3:18 ` [PATCH 1/7] arm64: dts: imx91-11x11-evk: " shengjiu.wang
@ 2026-11-20 3:18 ` shengjiu.wang
2026-11-20 10:39 ` Chancel Liu
2026-11-20 3:18 ` [PATCH 3/7] arm64: dts: imx93-9x9-qsb: " shengjiu.wang
` (4 subsequent siblings)
6 siblings, 1 reply; 12+ messages in thread
From: shengjiu.wang @ 2026-11-20 3:18 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel, festevam,
shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
From: Shengjiu Wang <shengjiu.wang@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 4 channels to match the DMIC hardware layout on the i.MX93 11x11
EVK board.
Fixes: fcfa86b3e02c ("arm64: dts: imx93-11x11-evk: Add PDM microphone sound card support")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
index d3312093f996..b6cf5fd77c04 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
@@ -22,6 +22,12 @@ amp_mqs1: audio-amplifier {
VCC-supply = <®_3p3v>;
};
+ dmic: dmic {
+ compatible = "dmic-codec";
+ #sound-dai-cells = <0>;
+ num-channels = <4>;
+ };
+
pdm_mqs1_mux: mux-controller-0 {
compatible = "gpio-mux";
#mux-control-cells = <0>;
@@ -111,6 +117,10 @@ pri-dai-link {
link-name = "micfil hifi";
format = "i2s";
+ codec {
+ sound-dai = <&dmic>;
+ };
+
cpu {
sound-dai = <&micfil>;
};
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH 2/7] arm64: dts: imx93-11x11-evk: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 ` [PATCH 2/7] arm64: dts: imx93-11x11-evk: " shengjiu.wang
@ 2026-11-20 10:39 ` Chancel Liu
0 siblings, 0 replies; 12+ messages in thread
From: Chancel Liu @ 2026-11-20 10:39 UTC (permalink / raw)
To: shengjiu.wang, robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel,
festevam, shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
On 11/20/2026 11:18 AM, shengjiu.wang@oss.nxp.com wrote:
> From: Shengjiu Wang <shengjiu.wang@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 4 channels to match the DMIC hardware layout on the i.MX93 11x11
> EVK board.
>
> Fixes: fcfa86b3e02c ("arm64: dts: imx93-11x11-evk: Add PDM microphone sound card support")
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Chancel Liu <chancel.liu@gmail.com>
Regards,
Chancel Liu
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 3/7] arm64: dts: imx93-9x9-qsb: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 [PATCH 0/7] arm64: dts: imx: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
2026-11-20 3:18 ` [PATCH 1/7] arm64: dts: imx91-11x11-evk: " shengjiu.wang
2026-11-20 3:18 ` [PATCH 2/7] arm64: dts: imx93-11x11-evk: " shengjiu.wang
@ 2026-11-20 3:18 ` shengjiu.wang
2026-11-20 10:42 ` Chancel Liu
2026-11-20 3:18 ` [PATCH 4/7] arm64: dts: imx943-evk: Add num-channels to DMIC codec node shengjiu.wang
` (3 subsequent siblings)
6 siblings, 1 reply; 12+ messages in thread
From: shengjiu.wang @ 2026-11-20 3:18 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel, festevam,
shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
From: Shengjiu Wang <shengjiu.wang@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 4 channels to match the DMIC hardware layout on the i.MX93 9x9
QSB board.
Fixes: 31b2f4e4c4f7 ("arm64: dts: imx93-9x9-qsb: Add PDM microphone sound card support")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
index 3be5bf4bc101..8a97bc58ec37 100644
--- a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
@@ -40,6 +40,12 @@ chosen {
stdout-path = &lpuart1;
};
+ dmic: dmic {
+ compatible = "dmic-codec";
+ #sound-dai-cells = <0>;
+ num-channels = <4>;
+ };
+
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
@@ -175,6 +181,10 @@ pri-dai-link {
link-name = "micfil hifi";
format = "i2s";
+ codec {
+ sound-dai = <&dmic>;
+ };
+
cpu {
sound-dai = <&micfil>;
};
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH 3/7] arm64: dts: imx93-9x9-qsb: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 ` [PATCH 3/7] arm64: dts: imx93-9x9-qsb: " shengjiu.wang
@ 2026-11-20 10:42 ` Chancel Liu
0 siblings, 0 replies; 12+ messages in thread
From: Chancel Liu @ 2026-11-20 10:42 UTC (permalink / raw)
To: shengjiu.wang, robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel,
festevam, shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
On 11/20/2026 11:18 AM, shengjiu.wang@oss.nxp.com wrote:
> From: Shengjiu Wang <shengjiu.wang@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 4 channels to match the DMIC hardware layout on the i.MX93 9x9
> QSB board.
>
> Fixes: 31b2f4e4c4f7 ("arm64: dts: imx93-9x9-qsb: Add PDM microphone sound card support")
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Chancel Liu <chancel.liu@gmail.com>
Regards,
Chancel Liu
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 4/7] arm64: dts: imx943-evk: Add num-channels to DMIC codec node
2026-11-20 3:18 [PATCH 0/7] arm64: dts: imx: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
` (2 preceding siblings ...)
2026-11-20 3:18 ` [PATCH 3/7] arm64: dts: imx93-9x9-qsb: " shengjiu.wang
@ 2026-11-20 3:18 ` shengjiu.wang
2026-11-20 3:18 ` [PATCH 5/7] arm64: dts: imx95-15x15-evk: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
` (2 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: shengjiu.wang @ 2026-11-20 3:18 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel, festevam,
shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
From: Shengjiu Wang <shengjiu.wang@nxp.com>
Add num-channels = <4> to the dmic-codec node to match the DMIC
hardware layout on the i.MX943 EVK board.
Fixes: 715dc11c78d8 ("arm64: dts: imx943-evk: Add PDM microphone sound card support")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx943-evk.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx943-evk.dts b/arch/arm64/boot/dts/freescale/imx943-evk.dts
index 39e819c536cc..bfbda9f99a62 100644
--- a/arch/arm64/boot/dts/freescale/imx943-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx943-evk.dts
@@ -115,6 +115,7 @@ xtal25m: clock-xtal25m {
dmic: dmic {
compatible = "dmic-codec";
#sound-dai-cells = <0>;
+ num-channels = <4>;
};
m2_connector: m2-connector {
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 5/7] arm64: dts: imx95-15x15-evk: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 [PATCH 0/7] arm64: dts: imx: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
` (3 preceding siblings ...)
2026-11-20 3:18 ` [PATCH 4/7] arm64: dts: imx943-evk: Add num-channels to DMIC codec node shengjiu.wang
@ 2026-11-20 3:18 ` shengjiu.wang
2026-11-20 10:44 ` Chancel Liu
2026-11-20 3:18 ` [PATCH 6/7] arm64: dts: imx95-19x19-evk: " shengjiu.wang
2026-11-20 3:18 ` [PATCH 7/7] arm64: dts: imx95-19x19-frdm-pro: " shengjiu.wang
6 siblings, 1 reply; 12+ messages in thread
From: shengjiu.wang @ 2026-11-20 3:18 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel, festevam,
shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
From: Shengjiu Wang <shengjiu.wang@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 15x15
EVK board.
Fixes: e3e8b199aff8 ("arm64: dts: imx95: Add imx95-15x15-evk support")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts b/arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts
index 1ca6850a7365..e115cfa2de05 100644
--- a/arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-15x15-evk.dts
@@ -65,6 +65,12 @@ chosen {
stdout-path = &lpuart1;
};
+ dmic: dmic {
+ compatible = "dmic-codec";
+ #sound-dai-cells = <0>;
+ num-channels = <2>;
+ };
+
fan0: pwm-fan {
compatible = "pwm-fan";
fan-supply = <®_vcc_12v>;
@@ -272,6 +278,10 @@ pri-dai-link {
format = "i2s";
link-name = "micfil hifi";
+ codec {
+ sound-dai = <&dmic>;
+ };
+
cpu {
sound-dai = <&micfil>;
};
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH 5/7] arm64: dts: imx95-15x15-evk: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 ` [PATCH 5/7] arm64: dts: imx95-15x15-evk: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
@ 2026-11-20 10:44 ` Chancel Liu
0 siblings, 0 replies; 12+ messages in thread
From: Chancel Liu @ 2026-11-20 10:44 UTC (permalink / raw)
To: shengjiu.wang, robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel,
festevam, shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
On 11/20/2026 11:18 AM, shengjiu.wang@oss.nxp.com wrote:
> From: Shengjiu Wang <shengjiu.wang@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 15x15
> EVK board.
>
> Fixes: e3e8b199aff8 ("arm64: dts: imx95: Add imx95-15x15-evk support")
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Chancel Liu <chancel.liu@gmail.com>
Regards,
Chancel Liu
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 6/7] arm64: dts: imx95-19x19-evk: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 [PATCH 0/7] arm64: dts: imx: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
` (4 preceding siblings ...)
2026-11-20 3:18 ` [PATCH 5/7] arm64: dts: imx95-15x15-evk: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
@ 2026-11-20 3:18 ` shengjiu.wang
2026-11-20 3:18 ` [PATCH 7/7] arm64: dts: imx95-19x19-frdm-pro: " shengjiu.wang
6 siblings, 0 replies; 12+ messages in thread
From: shengjiu.wang @ 2026-11-20 3:18 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel, festevam,
shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
From: Shengjiu Wang <shengjiu.wang@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@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@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
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 7/7] arm64: dts: imx95-19x19-frdm-pro: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 [PATCH 0/7] arm64: dts: imx: Add DMIC codec to replace dummy codec for micfil shengjiu.wang
` (5 preceding siblings ...)
2026-11-20 3:18 ` [PATCH 6/7] arm64: dts: imx95-19x19-evk: " shengjiu.wang
@ 2026-11-20 3:18 ` shengjiu.wang
2026-11-20 10:49 ` Chancel Liu
6 siblings, 1 reply; 12+ messages in thread
From: shengjiu.wang @ 2026-11-20 3:18 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel, festevam,
shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
From: Shengjiu Wang <shengjiu.wang@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@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
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH 7/7] arm64: dts: imx95-19x19-frdm-pro: Add DMIC codec to replace dummy codec for micfil
2026-11-20 3:18 ` [PATCH 7/7] arm64: dts: imx95-19x19-frdm-pro: " shengjiu.wang
@ 2026-11-20 10:49 ` Chancel Liu
0 siblings, 0 replies; 12+ messages in thread
From: Chancel Liu @ 2026-11-20 10:49 UTC (permalink / raw)
To: shengjiu.wang, robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel,
festevam, shawnguo, daniel.baluta, chancel.liu, devicetree, imx,
linux-arm-kernel
On 11/20/2026 11:18 AM, shengjiu.wang@oss.nxp.com wrote:
> From: Shengjiu Wang <shengjiu.wang@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@nxp.com>
Reviewed-by: Chancel Liu <chancel.liu@gmail.com>
Regards,
Chancel Liu
^ permalink raw reply [flat|nested] 12+ messages in thread