]> 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)
commitc2c9ae07a85c64df23e403d27a673e1e0aacdaea
tree02ba9943fab8250f0dea220de8c668e57d5da48c
parentdbfdf0dc075f973cd59822f3f82bc1ac69113c1a
ARM: dts: OMAP5: Fix the bypass clock source for dpll_iva and others

Fixes bfb3e05e (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