diff options
author | Xing Zheng <zhengxing@rock-chips.com> | 2016-03-08 21:37:03 -0500 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-03-27 07:03:33 -0400 |
commit | 268aebaa2410152bf91ea1ede6b284ff8138822d (patch) | |
tree | f3831b0a1978eb3eeb0abf22d90e6c839a66f6f0 /drivers/clk/rockchip/clk-rk3036.c | |
parent | 9387bfd19b457085189d918ef117ffd63c4d67a0 (diff) |
clk: rockchip: allow varying mux parameters for cpuclk pll-sources
Thers are only two parent PLLs that APLL and GPLL for core on the
previous SoCs (RK3066/RK3188/RK3288/RK3368). Hence, we set fixed
GPLL as alternate parent when core is switching freq.
Since RK3399 big.LITTLE architecture, we need to select and adapt
more PLLs (ALPLL/ABPLL/DPLL/GPLL) sources.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/clk/rockchip/clk-rk3036.c')
-rw-r--r-- | drivers/clk/rockchip/clk-rk3036.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk-rk3036.c b/drivers/clk/rockchip/clk-rk3036.c index 7cdb2d61f3e0..f9cbba0eac36 100644 --- a/drivers/clk/rockchip/clk-rk3036.c +++ b/drivers/clk/rockchip/clk-rk3036.c | |||
@@ -113,7 +113,10 @@ static const struct rockchip_cpuclk_reg_data rk3036_cpuclk_data = { | |||
113 | .core_reg = RK2928_CLKSEL_CON(0), | 113 | .core_reg = RK2928_CLKSEL_CON(0), |
114 | .div_core_shift = 0, | 114 | .div_core_shift = 0, |
115 | .div_core_mask = 0x1f, | 115 | .div_core_mask = 0x1f, |
116 | .mux_core_alt = 1, | ||
117 | .mux_core_main = 0, | ||
116 | .mux_core_shift = 7, | 118 | .mux_core_shift = 7, |
119 | .mux_core_mask = 0x1, | ||
117 | }; | 120 | }; |
118 | 121 | ||
119 | PNAME(mux_pll_p) = { "xin24m", "xin24m" }; | 122 | PNAME(mux_pll_p) = { "xin24m", "xin24m" }; |