]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10007-02 arm: imx: enable pll1 when changing arm_podf value
authorBai Ping <b51503@freescale.com>
Fri, 26 Dec 2014 17:00:58 +0000 (01:00 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:56 +0000 (21:18 -0600)
commit09bcfcabc08a57bce3000677052d5a2fcc2b1b68
tree52b4a1d9d46775f14c58b1ab8fb7c8bbc6b05f44
parentf4aaac860c35a4a18118bae11941eed2ce73d7fd
MLK-10007-02 arm: imx: enable pll1 when changing arm_podf value

Before changing the arm_podf, the pll1 must be output enabled according
to the hardware design.

Refer to the clk tree implementation code for i.MX6SL. pll1's output will
be disabled when no clk is sourced from it. In busfreq code, in order to
successfully change the arm_clk rate, we must make sure pll1's output is
enabled before changing this clk rate. add imx6sl_enable_pll_arm() calls
to fulfill this requirement.

Additionally, only a bypassed output clk is ok, so no need to make sure pll1
is powered up.

Signed-off-by: Bai Ping <b51503@freescale.com>
arch/arm/mach-imx/busfreq-imx6.c
arch/arm/mach-imx/clk-imx6sl.c
arch/arm/mach-imx/common.h