]> 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)
commit998b2bf72601d7ff7285a6ee4d007ea1539d3fff
tree4f22f54b3ce15f2dd5433d343a3d6b75c40cc396
parent560bafeb23e4501651a67282c16c3859b44cf3df
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 c9c117d3bba52b8f45366d8a1156339666bd59f5
(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