]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: clk-vf610: define PLL's clock tree
authorStefan Agner <stefan@agner.ch>
Mon, 27 Oct 2014 16:40:44 +0000 (17:40 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 4 Nov 2014 05:40:14 +0000 (13:40 +0800)
commitb71cf9db939f804250adf2a86a722c5a5d3c31f3
tree4f22f54b3ce15f2dd5433d343a3d6b75c40cc396
parent07f3e0931c7df93ad87c2836ee1d7614860e3ab2
ARM: imx: clk-vf610: define PLL's clock tree

So far, the required PLL's (PLL1/PLL2/PLL5) have been initialized
by boot loader and the kernel code defined fixed rates according
to those default configurations. Beginning with the USB PLL7 the
code started to initialize the PLL's itself (using imx_clk_pllv3).

However, since commit 644fe2307513e7c3fcbc29384bc1848a42bdf9ac
(ARM: imx: remove ENABLE and BYPASS bits from clk-pllv3 driver)
imx_clk_pllv3 no longer takes care of the ENABLE and BYPASS bits,
hence the USB PLL were not configured correctly anymore.

This patch not only fixes those USB PLL's, but also makes use of
the imx_clk_pllv3 for all PLL's and alignes the code with the PLL
support of the i.MX6 series.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-vf610.c
include/dt-bindings/clock/vf610-clock.h