* [PATCH] arm64: dts: imx8mn: Init rates and parents configs for clocks
@ 2020-01-10 7:20 Peng Fan
2020-02-12 7:39 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Peng Fan @ 2020-01-10 7:20 UTC (permalink / raw)
To: robh+dt, mark.rutland, shawnguo, kernel, festevam, Abel Vesa
Cc: dl-linux-imx, Anson Huang, Leonard Crestez, Daniel Baluta,
Jacky Bai, Jun Li, angus, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
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 <peng.fan@nxp.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: imx8mn: Init rates and parents configs for clocks
2020-01-10 7:20 [PATCH] arm64: dts: imx8mn: Init rates and parents configs for clocks Peng Fan
@ 2020-02-12 7:39 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2020-02-12 7:39 UTC (permalink / raw)
To: Peng Fan
Cc: robh+dt, mark.rutland, kernel, festevam, Abel Vesa, dl-linux-imx,
Anson Huang, Leonard Crestez, Daniel Baluta, Jacky Bai, Jun Li,
angus, devicetree, linux-arm-kernel, linux-kernel
On Fri, Jan 10, 2020 at 07:20:31AM +0000, Peng Fan wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> 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 <peng.fan@nxp.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-12 7:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 7:20 [PATCH] arm64: dts: imx8mn: Init rates and parents configs for clocks Peng Fan
2020-02-12 7:39 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).