Skip to content

Commit 161af16

Browse files
aford173Shawn Guo
authored andcommitted
arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock
Commit 16c9845 ("arm64: dts: imx8mp: don't initialize audio clocks from CCM node") removed the Audio clocks from the main clock node, because the intent is to force people to setup the audio PLL clocks per board instead of having a common set of rates since not all boards may use the various audio PLL clocks for audio devices. This resulted in an incorrect clock rate when attempting to playback audio, since the AUDIO_PLL2 wasn't set any longer. Fix this by setting the AUDIO_PLL2 rate inside the SAI3 node since it's the SAI3 that needs it. Fixes: 16c9845 ("arm64: dts: imx8mp: don't initialize audio clocks from CCM node") Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent b739681 commit 161af16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,10 @@
381381
&sai3 {
382382
pinctrl-names = "default";
383383
pinctrl-0 = <&pinctrl_sai3>;
384-
assigned-clocks = <&clk IMX8MP_CLK_SAI3>;
384+
assigned-clocks = <&clk IMX8MP_CLK_SAI3>,
385+
<&clk IMX8MP_AUDIO_PLL2> ;
385386
assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>;
386-
assigned-clock-rates = <12288000>;
387+
assigned-clock-rates = <12288000>, <361267200>;
387388
fsl,sai-mclk-direction-output;
388389
status = "okay";
389390
};

0 commit comments

Comments
 (0)