Patch "arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock" has been added to the 6.5-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock

to the 6.5-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-imx8mp-beacon-kit-fix-audio_pll2-clock.patch
and it can be found in the queue-6.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit bf5ddaa421236c85afadbbf77cc7adb3dd6c7447
Author: Adam Ford <aford173@xxxxxxxxx>
Date:   Sat Aug 19 05:50:02 2023 -0500

    arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock
    
    [ Upstream commit 161af16c18f3e10d81870328928e5fff3a7d47bb ]
    
    Commit 16c984524862 ("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: 16c984524862 ("arm64: dts: imx8mp: don't initialize audio clocks from CCM node")
    Signed-off-by: Adam Ford <aford173@xxxxxxxxx>
    Reviewed-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
    Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>
    Signed-off-by: Shawn Guo <shawnguo@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts
index 06e91297fb163..acd265d8b58ed 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts
@@ -381,9 +381,10 @@ &pcie_phy {
 &sai3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_sai3>;
-	assigned-clocks = <&clk IMX8MP_CLK_SAI3>;
+	assigned-clocks = <&clk IMX8MP_CLK_SAI3>,
+			  <&clk IMX8MP_AUDIO_PLL2> ;
 	assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>;
-	assigned-clock-rates = <12288000>;
+	assigned-clock-rates = <12288000>, <361267200>;
 	fsl,sai-mclk-direction-output;
 	status = "okay";
 };



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux