]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: qcom: ipq4019: remove fixed clocks and add pll clocks
authorAbhishek Sahu <absahu@codeaurora.org>
Fri, 25 Nov 2016 15:41:28 +0000 (21:11 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 21 Dec 2016 23:57:25 +0000 (15:57 -0800)
commit4577aa01a5d12737c6f8109013651c97535a79b5
tree43794dc9e7f8525c9ef0ba8f66b02a3818e3fe36
parent2aab7a2055a1705c9e30920d95a596226999eb21
clk: qcom: ipq4019: remove fixed clocks and add pll clocks

The current ipq4019 clock driver registered the PLL clocks and
dividers as fixed clock. These fixed clock needs to be removed
from driver probe function and same need to be registered with
clock framework. These PLL clocks should be programmed only
once and the same are being programmed already by the boot
loader so the set rate operation is not required for these
clocks. Only the rate can be calculated by clock operations
in clock driver file so this patch adds the same.

The PLL takes the reference clock from XO and generates the
intermediate VCO frequency. This VCO frequency will be divided
down by different PLL internal dividers. Some of the PLL
internal dividers are fixed while other are programmable.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/gcc-ipq4019.c
include/dt-bindings/clock/qcom,gcc-ipq4019.h