Skip to content

Commit 78722d3

Browse files
sumanannatmlind
authored andcommitted
ARM: dts: dra7xx-clocks: Fixup IPU1 mux clock parent source
The IPU1 functional clock is the output of a mux clock (represented by ipu1_gfclk_mux previously) and the clock source for this has been updated to be sourced from dpll_core_h22x2_ck in commit 39879c7 ("ARM: dts: dra7xx-clocks: Source IPU1 functional clock from CORE DPLL"). ipu1_gfclk_mux is an obsolete clock now with the clkctrl conversion, and this clock source parenting is lost during the new clkctrl layout conversion. Remove this stale clock and fix up the clock source for this mux clock using the latest equivalent clkctrl clock. This restores the previous logic and ensures that the IPU1 continues to run at the same frequency of IPU2 and independent of the ABE DPLL. Fixes: b5f8ffb ("ARM: dts: dra7: convert to use new clkctrl layout") Signed-off-by: Suman Anna <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 3162346 commit 78722d3

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

arch/arm/boot/dts/dra7xx-clocks.dtsi

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -796,16 +796,6 @@
796796
clock-div = <1>;
797797
};
798798

799-
ipu1_gfclk_mux: ipu1_gfclk_mux@520 {
800-
#clock-cells = <0>;
801-
compatible = "ti,mux-clock";
802-
clocks = <&dpll_abe_m2x2_ck>, <&dpll_core_h22x2_ck>;
803-
ti,bit-shift = <24>;
804-
reg = <0x0520>;
805-
assigned-clocks = <&ipu1_gfclk_mux>;
806-
assigned-clock-parents = <&dpll_core_h22x2_ck>;
807-
};
808-
809799
dummy_ck: dummy_ck {
810800
#clock-cells = <0>;
811801
compatible = "fixed-clock";
@@ -1564,6 +1554,8 @@
15641554
compatible = "ti,clkctrl";
15651555
reg = <0x20 0x4>;
15661556
#clock-cells = <2>;
1557+
assigned-clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 24>;
1558+
assigned-clock-parents = <&dpll_core_h22x2_ck>;
15671559
};
15681560

15691561
ipu_clkctrl: ipu-clkctrl@50 {

0 commit comments

Comments
 (0)