arm64: dts: verdin-imx8mm: fix dev board audio playback
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Wed, 7 Dec 2022 10:27:49 +0000 (11:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:04 +0000 (08:34 +0100)
commit767a2c8e7354389591af767a682c1b5d0fa4588c
tree24e115c95fd471f149785b15680d0d241dc6c105
parentf20a2afec50265851cf99bdea2869f2c60fdaf7c
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 <emanuele.ghidoli@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi