]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx6q: add BYPASS support for PLL clocks
authorShawn Guo <shawn.guo@freescale.com>
Mon, 1 Sep 2014 06:17:48 +0000 (14:17 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 16 Sep 2014 02:06:48 +0000 (10:06 +0800)
commit8efb8084345cadd463b97040b65a9e5da92fb9ca
treeaa6508f3f033301952702c5aaad01f520e78b118
parent66c73716ca58b72e41317d13d2cf52f10387798e
ARM: imx6q: add BYPASS support for PLL clocks

The imx6q clock driver currently hard-codes all PLL clocks to source
from OSC24M without BYPASS support.  The patch adds the missing lvds_in
clock which is mutually exclusive with lvds_gate, and implements BYPASS
and BYPASS_CLK_SRC selection for PLL clocks as per Figure 10-3. Primary
Clock Generation in IMX6DQRM, i.e. both BYPASS_CLK_SRC and BYPASS bits
are implemented as mux clocks, and ENABLE bit of PLL clocks is
implemented as a gate clock after BYPASS mux.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/clk-imx6q.c
include/dt-bindings/clock/imx6qdl-clock.h