Skip to content

Commit 39879c7

Browse files
sumanannatmlind
authored andcommitted
ARM: dts: dra7xx-clocks: Source IPU1 functional clock from CORE DPLL
The IPU1 functional clock is actually the output of a mux clock, ipu1_gfclk_mux. The mux clock is sourced by default from the DPLL_ABE_X2_CLK, and this results in a rather odd clock frequency (361 MHz) for the IPU1 functional clock on platforms where ABE_DPLL is configured properly. Reconfigure the mux clock to be sourced from CORE_IPU_ISS_BOOST_CLK (dpll_core_h22x2_ck), so that both the IPU1 and IPU2 are running from the same clock and clocked at the same nominal frequency of 425 MHz. This also ensures that IPU1 functional clock is always configured properly and becomes independent of the state of the ABE DPLL on all boards. Signed-off-by: Suman Anna <[email protected]> Acked-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent b58104f commit 39879c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,8 @@
791791
clocks = <&dpll_abe_m2x2_ck>, <&dpll_core_h22x2_ck>;
792792
ti,bit-shift = <24>;
793793
reg = <0x0520>;
794+
assigned-clocks = <&ipu1_gfclk_mux>;
795+
assigned-clock-parents = <&dpll_core_h22x2_ck>;
794796
};
795797

796798
mcasp1_ahclkr_mux: mcasp1_ahclkr_mux@550 {

0 commit comments

Comments
 (0)