* [PATCH 1/1] arm64: dts: tqma8mpql-mba8mpxl: configure sai clock in sound card as well
@ 2026-05-22 11:22 Alexander Stein
2026-06-01 19:55 ` Frank.Li
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2026-05-22 11:22 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Alexander Stein, Shawn Guo
Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel
With deferrable card binding the sound card driver tries to
get the mclk configuration before it is setup in sai3 node.
Fix this by setting the mclk config for the sound card as well.
Fixes: d8f9d8126582 ("arm64: dts: imx8mp: Add analog audio output on i.MX8MP TQMa8MPxL/MBa8MPxL")
Signed-off-by: Alexander Stein <alexander.stein@ew•tq-group.com>
---
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
index 890d1e525a489..1ea1da735762f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
@@ -246,6 +246,9 @@ sound {
"IN1_R", "Line In Jack",
"Line Out Jack", "LOL",
"Line Out Jack", "LOR";
+ assigned-clocks = <&clk IMX8MP_CLK_SAI3>;
+ assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
+ assigned-clock-rates = <12288000>;
};
sound-hdmi {
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] arm64: dts: tqma8mpql-mba8mpxl: configure sai clock in sound card as well
2026-05-22 11:22 [PATCH 1/1] arm64: dts: tqma8mpql-mba8mpxl: configure sai clock in sound card as well Alexander Stein
@ 2026-06-01 19:55 ` Frank.Li
2026-06-01 22:11 ` Frank Li
0 siblings, 1 reply; 3+ messages in thread
From: Frank.Li @ 2026-06-01 19:55 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Shawn Guo,
Alexander Stein
Cc: Frank Li, linux, devicetree, imx, linux-arm-kernel, linux-kernel
From: Frank Li <Frank.Li@nxp•com>
On Fri, 22 May 2026 13:22:46 +0200, Alexander Stein wrote:
> With deferrable card binding the sound card driver tries to
> get the mclk configuration before it is setup in sai3 node.
> Fix this by setting the mclk config for the sound card as well.
Applied, thanks!
[1/1] arm64: dts: tqma8mpql-mba8mpxl: configure sai clock in sound card as well
commit: 9abd06007c314cfd065ac13b0f382d624befcf23
Best regards,
--
Frank Li <Frank.Li@nxp•com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] arm64: dts: tqma8mpql-mba8mpxl: configure sai clock in sound card as well
2026-06-01 19:55 ` Frank.Li
@ 2026-06-01 22:11 ` Frank Li
0 siblings, 0 replies; 3+ messages in thread
From: Frank Li @ 2026-06-01 22:11 UTC (permalink / raw)
To: Frank.Li
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Shawn Guo,
Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
linux-kernel
On Mon, Jun 01, 2026 at 03:55:06PM -0400, Frank.Li@oss•nxp.com wrote:
> From: Frank Li <Frank.Li@nxp•com>
>
>
> On Fri, 22 May 2026 13:22:46 +0200, Alexander Stein wrote:
> > With deferrable card binding the sound card driver tries to
> > get the mclk configuration before it is setup in sai3 node.
> > Fix this by setting the mclk config for the sound card as well.
>
> Applied, thanks!
>
> [1/1] arm64: dts: tqma8mpql-mba8mpxl: configure sai clock in sound card as well
> commit: 9abd06007c314cfd065ac13b0f382d624befcf23
I have to drop it because it cause CHECK_DTBS waring
/home/lizhi/source/linux-imx/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dtb: sound (fsl,imx-audio-tlv320aic32x4): Unevaluated properties are not allowed ('assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks' were unexpected)
from schema $id: http://devicetree.org/schemas/sound/fsl-asoc-card.yaml
/home/lizhi/source/linux-imx/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dtb: sound (fsl,imx-audio-tlv320aic32x4): 'anyOf' conditional failed, one must be fixed:
'clocks' is a required property
'#clock-cells' is a required property
from schema $id: http://devicetree.org/schemas/clock/clock.yaml
DTC [C] arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dahlia.dtb
Frank
>
> Best regards,
> --
> Frank Li <Frank.Li@nxp•com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-01 22:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-22 11:22 [PATCH 1/1] arm64: dts: tqma8mpql-mba8mpxl: configure sai clock in sound card as well Alexander Stein
2026-06-01 19:55 ` Frank.Li
2026-06-01 22:11 ` Frank Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox