arm64: dts: imx8mm: Init rates and parents configs for clocks
Subsystems (2)
PATCH v2 1/1 arm64: dts: imx8mm: Init rates and parents configs for clocks
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.
---
Changes since v1:
- removed the PCIE, CSI and DISP clocks parent setting since that should be done from their driver.
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm.dtsi +11 -0
@@ -451,6 +451,17 @@ <&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>, + <750000000>, + <594000000>; }; src: reset-controller@30390000 {
Signature · 1 line
2.7.4
Quoted 7 lines · Abel Vesa
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 <[email protected]>
Thanks Abel, this helps audio. For audio clk:
Quoted 34 lines
---
Changes since v1:
- removed the PCIE, CSI and DISP clocks parent setting since that should be done from their driver.arch/arm64/boot/dts/freescale/imx8mm.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)arch/arm64/boot/dts/freescale/imx8mm.dtsi +11
-1@@ -451,6 +451,17 @@ <&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>, + <750000000>, + <594000000>; }; src: reset-controller@30390000 { --2.7.4
Shawn Guo
AppliedQuoted 6 lines · Abel Vesa
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 <[email protected]>
Applied, thanks.