2020-01-10 07:21:45

by Peng Fan

[permalink] [raw]
Subject: [PATCH] arm64: dts: imx8mn: Init rates and parents configs for clocks

From: Peng Fan <[email protected]>

Add the initial configuration for clocks that need default parent and rate
setting.

NoC sources from SYS PLL3, running at 600MHz. Audio AHB/IPG clks needs
to run at 400MHz for better performance.

Signed-off-by: Peng Fan <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index a44b5438e842..0a62a478a930 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -379,6 +379,16 @@
<&clk_ext3>, <&clk_ext4>;
clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
"clk_ext3", "clk_ext4";
+ assigned-clocks = <&clk IMX8MN_CLK_NOC>,
+ <&clk IMX8MN_CLK_AUDIO_AHB>,
+ <&clk IMX8MN_CLK_IPG_AUDIO_ROOT>,
+ <&clk IMX8MN_SYS_PLL3>;
+ assigned-clock-parents = <&clk IMX8MN_SYS_PLL3_OUT>,
+ <&clk IMX8MN_SYS_PLL1_800M>;
+ assigned-clock-rates = <0>,
+ <400000000>,
+ <400000000>,
+ <600000000>;
};

src: reset-controller@30390000 {
--
2.16.4


2020-02-12 07:41:01

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: imx8mn: Init rates and parents configs for clocks

On Fri, Jan 10, 2020 at 07:20:31AM +0000, Peng Fan wrote:
> From: Peng Fan <[email protected]>
>
> Add the initial configuration for clocks that need default parent and rate
> setting.
>
> NoC sources from SYS PLL3, running at 600MHz. Audio AHB/IPG clks needs
> to run at 400MHz for better performance.
>
> Signed-off-by: Peng Fan <[email protected]>

Applied, thanks.