OSDN Git Service

arm64: dts: imx8mn: Configure clock rate for audio plls
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 7 Dec 2020 09:12:34 +0000 (17:12 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 7 Jan 2021 03:02:00 +0000 (11:02 +0800)
Configure clock rate for audio plls. audio pll1 is used
as parent clock for clocks that is multiple of 8kHz.
audio pll2 is used as parent clock for clocks that is
multiple of 11kHz.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn.dtsi

index ee17902..00808bb 100644 (file)
                                                <&clk IMX8MN_CLK_NOC>,
                                                <&clk IMX8MN_CLK_AUDIO_AHB>,
                                                <&clk IMX8MN_CLK_IPG_AUDIO_ROOT>,
-                                               <&clk IMX8MN_SYS_PLL3>;
+                                               <&clk IMX8MN_SYS_PLL3>,
+                                               <&clk IMX8MN_AUDIO_PLL1>,
+                                               <&clk IMX8MN_AUDIO_PLL2>;
                                assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_800M>,
                                                         <&clk IMX8MN_ARM_PLL_OUT>,
                                                         <&clk IMX8MN_SYS_PLL3_OUT>,
                                assigned-clock-rates = <0>, <0>, <0>,
                                                        <400000000>,
                                                        <400000000>,
-                                                       <600000000>;
+                                                       <600000000>,
+                                                       <393216000>,
+                                                       <361267200>;
                        };
 
                        src: reset-controller@30390000 {