]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: imx8mm: Init rates and parents configs for clocks
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 3 Jul 2019 12:08:22 +0000 (15:08 +0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 3 Aug 2019 10:28:15 +0000 (12:28 +0200)
Add the initial configuration for clocks that need default parent and rate
setting. This is based on the vendor tree clock provider parents and rates
configuration except this is doing the setup in dts rather than using clock
consumer API in a clock provider driver.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Acked-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index 232a7412755a917210d5e3bc44208b3d1cf42b93..b0304872c4088d0da036062a645f886f44b22b81 100644 (file)
@@ -451,6 +451,18 @@ clk: clock-controller@30380000 {
                                         <&clk_ext3>, <&clk_ext4>;
                                clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
                                              "clk_ext3", "clk_ext4";
+                               assigned-clocks = <&clk IMX8MM_CLK_NOC>,
+                                               <&clk IMX8MM_CLK_AUDIO_AHB>,
+                                               <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>,
+                                               <&clk IMX8MM_SYS_PLL3>,
+                                               <&clk IMX8MM_VIDEO_PLL1>;
+                               assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>,
+                                                        <&clk IMX8MM_SYS_PLL1_800M>;
+                               assigned-clock-rates = <0>,
+                                                       <400000000>,
+                                                       <400000000>,
+                                                       <750000000>,
+                                                       <594000000>;
                        };
 
                        src: reset-controller@30390000 {