* [PATCH v3] arm64: dts: imx93-11x11-frdm: Add MQS audio support
@ 2026-01-13 7:50 Daniel Baluta
2026-01-14 18:11 ` Francesco Valla
2026-01-18 1:59 ` Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Baluta @ 2026-01-13 7:50 UTC (permalink / raw)
To: shawnguo
Cc: robh, krzk+dt, conor+dt, s.hauer, kernel, festevam, devicetree,
imx, linux-arm-kernel, linux-kernel, Daniel Baluta, Tom Zheng
Enable Medium Quality Sound (MQS) output on the i.MX93 FRDM 11x11 board
by adding sound card description and enabling sai1 and mqs1 dts nodes,
together with necessary clocks and pinmux.
This supports audio playback via SAI1 DAI which is connected to the MQS1
block.
Co-developed-by: Tom Zheng <haidong.zheng@nxp.com>
Signed-off-by: Tom Zheng <haidong.zheng@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
---
Changes since v2:
* Remove "fsl,imx6sx-sdb-mqs" compatible from sound-mqs as it doesn't
make much sense to use it as per Fabio suggestion
* Link to v2: https://lore.kernel.org/imx/20260112135612.465325-1-daniel.baluta@nxp.com/
.../boot/dts/freescale/imx93-11x11-frdm.dts | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
index 066c5139842b..5bb6ae0d154a 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
@@ -81,6 +81,13 @@ vdevbuffer: vdevbuffer@a4020000 {
no-map;
};
};
+
+ sound-mqs {
+ compatible = "fsl,imx-audio-mqs";
+ model = "mqs-audio";
+ audio-cpu = <&sai1>;
+ audio-codec = <&mqs1>;
+ };
};
&adc1 {
@@ -315,6 +322,27 @@ &lpuart1 { /* console */
status = "okay";
};
+&mqs1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mqs1>;
+ clocks = <&clk IMX93_CLK_MQS1_GATE>;
+ clock-names = "mclk";
+ status = "okay";
+};
+
+&sai1 {
+ #sound-dai-cells = <0>;
+ clocks = <&clk IMX93_CLK_SAI1_IPG>, <&clk IMX93_CLK_DUMMY>,
+ <&clk IMX93_CLK_SAI1_GATE>, <&clk IMX93_CLK_DUMMY>,
+ <&clk IMX93_CLK_DUMMY>, <&clk IMX93_CLK_AUDIO_PLL>;
+ clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k";
+ assigned-clocks = <&clk IMX93_CLK_SAI1>;
+ assigned-clock-parents = <&clk IMX93_CLK_AUDIO_PLL>;
+ assigned-clock-rates = <24576000>;
+ fsl,sai-mclk-direction-output;
+ status = "okay";
+};
+
&usbotg1 {
adp-disable;
disable-over-current;
@@ -479,6 +507,13 @@ MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e
>;
};
+ pinctrl_mqs1: mqs1grp {
+ fsl,pins = <
+ MX93_PAD_PDM_CLK__MQS1_LEFT 0x31e
+ MX93_PAD_PDM_BIT_STREAM0__MQS1_RIGHT 0x31e
+ >;
+ };
+
pinctrl_pcal6524: pcal6524grp {
fsl,pins = <
MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x31e
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v3] arm64: dts: imx93-11x11-frdm: Add MQS audio support
2026-01-13 7:50 [PATCH v3] arm64: dts: imx93-11x11-frdm: Add MQS audio support Daniel Baluta
@ 2026-01-14 18:11 ` Francesco Valla
2026-01-18 1:59 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Francesco Valla @ 2026-01-14 18:11 UTC (permalink / raw)
To: Daniel Baluta
Cc: shawnguo, robh, krzk+dt, conor+dt, s.hauer, kernel, festevam,
devicetree, imx, linux-arm-kernel, linux-kernel, Tom Zheng
On Tue, Jan 13, 2026 at 09:50:02AM +0200, Daniel Baluta wrote:
> Enable Medium Quality Sound (MQS) output on the i.MX93 FRDM 11x11 board
> by adding sound card description and enabling sai1 and mqs1 dts nodes,
> together with necessary clocks and pinmux.
>
> This supports audio playback via SAI1 DAI which is connected to the MQS1
> block.
>
> Co-developed-by: Tom Zheng <haidong.zheng@nxp.com>
> Signed-off-by: Tom Zheng <haidong.zheng@nxp.com>
> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
> ---
> Changes since v2:
> * Remove "fsl,imx6sx-sdb-mqs" compatible from sound-mqs as it doesn't
> make much sense to use it as per Fabio suggestion
> * Link to v2: https://lore.kernel.org/imx/20260112135612.465325-1-daniel.baluta@nxp.com/
>
> .../boot/dts/freescale/imx93-11x11-frdm.dts | 35 +++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
> index 066c5139842b..5bb6ae0d154a 100644
> --- a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
> +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
> @@ -81,6 +81,13 @@ vdevbuffer: vdevbuffer@a4020000 {
> no-map;
> };
> };
> +
> + sound-mqs {
> + compatible = "fsl,imx-audio-mqs";
> + model = "mqs-audio";
> + audio-cpu = <&sai1>;
> + audio-codec = <&mqs1>;
> + };
> };
>
> &adc1 {
> @@ -315,6 +322,27 @@ &lpuart1 { /* console */
> status = "okay";
> };
>
> +&mqs1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_mqs1>;
> + clocks = <&clk IMX93_CLK_MQS1_GATE>;
> + clock-names = "mclk";
> + status = "okay";
> +};
> +
> +&sai1 {
> + #sound-dai-cells = <0>;
> + clocks = <&clk IMX93_CLK_SAI1_IPG>, <&clk IMX93_CLK_DUMMY>,
> + <&clk IMX93_CLK_SAI1_GATE>, <&clk IMX93_CLK_DUMMY>,
> + <&clk IMX93_CLK_DUMMY>, <&clk IMX93_CLK_AUDIO_PLL>;
> + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k";
> + assigned-clocks = <&clk IMX93_CLK_SAI1>;
> + assigned-clock-parents = <&clk IMX93_CLK_AUDIO_PLL>;
> + assigned-clock-rates = <24576000>;
> + fsl,sai-mclk-direction-output;
> + status = "okay";
> +};
> +
> &usbotg1 {
> adp-disable;
> disable-over-current;
> @@ -479,6 +507,13 @@ MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e
> >;
> };
>
> + pinctrl_mqs1: mqs1grp {
> + fsl,pins = <
> + MX93_PAD_PDM_CLK__MQS1_LEFT 0x31e
> + MX93_PAD_PDM_BIT_STREAM0__MQS1_RIGHT 0x31e
> + >;
> + };
> +
> pinctrl_pcal6524: pcal6524grp {
> fsl,pins = <
> MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x31e
> --
> 2.45.2
>
>
Tested-by: Francesco Valla <francesco@valla.it>
Regards,
Francesco
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v3] arm64: dts: imx93-11x11-frdm: Add MQS audio support
2026-01-13 7:50 [PATCH v3] arm64: dts: imx93-11x11-frdm: Add MQS audio support Daniel Baluta
2026-01-14 18:11 ` Francesco Valla
@ 2026-01-18 1:59 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2026-01-18 1:59 UTC (permalink / raw)
To: Daniel Baluta
Cc: robh, krzk+dt, conor+dt, s.hauer, kernel, festevam, devicetree,
imx, linux-arm-kernel, linux-kernel, Tom Zheng
On Tue, Jan 13, 2026 at 09:50:02AM +0200, Daniel Baluta wrote:
> Enable Medium Quality Sound (MQS) output on the i.MX93 FRDM 11x11 board
> by adding sound card description and enabling sai1 and mqs1 dts nodes,
> together with necessary clocks and pinmux.
>
> This supports audio playback via SAI1 DAI which is connected to the MQS1
> block.
>
> Co-developed-by: Tom Zheng <haidong.zheng@nxp.com>
> Signed-off-by: Tom Zheng <haidong.zheng@nxp.com>
> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Applied v3 instead, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-18 2:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 7:50 [PATCH v3] arm64: dts: imx93-11x11-frdm: Add MQS audio support Daniel Baluta
2026-01-14 18:11 ` Francesco Valla
2026-01-18 1:59 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox