]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: OMAP5: Fix the bypass clock source for dpll_iva and others
authorRavikumar Kattekola <rk@ti.com>
Sat, 31 Jan 2015 17:06:45 +0000 (22:36 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 6 Mar 2015 16:36:33 +0000 (08:36 -0800)
commit0e26f57134e56e2291dbeb79617ed47e3a2ae17d
tree02ba9943fab8250f0dea220de8c668e57d5da48c
parent42d36cf6c1227fded99cf3b25646d3df6c9c9698
ARM: dts: OMAP5: Fix the bypass clock source for dpll_iva and others

Fixes b2815d3c (ARM: dts: omap5 clock data)

On OMAP54xx, For DPLL_IVA, the ref clock(CLKINP) is connected to sys_clk1 and
the bypass input(CLKINPULOW) is connected to iva_dpll_hs_clk_div clock.
But the bypass input is not directly routed to bypass clkout instead
both CLKINP and CLKINPULOW are connected to bypass clkout via a mux.

This mux is controlled by the bit - CM_CLKSEL_DPLL_IVA[23]:DPLL_BYP_CLKSEL
and it's POR value is zero which selects the CLKINP as bypass clkout.
which means iva_dpll_hs_clk_div is not the bypass clock for dpll_iva_ck

Fix this by adding another mux clock as parent in bypass mode.

This design is common to most of the PLLs and the rest have only one bypass
clock. Below is a list of the DPLLs that need this fix:

DPLL_IVA,
DPLL_PER,
DPLL_USB and DPLL_CORE

Signed-off-by: Ravikumar Kattekola <rk@ti.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap54xx-clocks.dtsi