From: Emanuele Ghidoli Date: Wed, 7 Dec 2022 10:27:49 +0000 (+0100) Subject: arm64: dts: verdin-imx8mm: fix dev board audio playback X-Git-Tag: v6.1.9~293 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=767a2c8e7354389591af767a682c1b5d0fa4588c;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: verdin-imx8mm: fix dev board audio playback [ Upstream commit 6c620a30515c494b5eeb3dc0e40d3220ea04c53b ] Set optional `simple-audio-card,mclk-fs` parameter to ensure a proper clock to the nau8822 audio codec. Without this change with an audio stream rate of 44.1 kHz the playback is faster. Set the MCLK at the right frequency, codec can properly use it to generate 44.1 kHz I2S-FS. Fixes: 6a57f224f734 ("arm64: dts: freescale: add initial support for verdin imx8m mini") Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi index 73cc3fa..b2bcd22 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi @@ -11,6 +11,7 @@ simple-audio-card,bitclock-master = <&dailink_master>; simple-audio-card,format = "i2s"; simple-audio-card,frame-master = <&dailink_master>; + simple-audio-card,mclk-fs = <256>; simple-audio-card,name = "imx8mm-nau8822"; simple-audio-card,routing = "Headphones", "LHP",