clk: rockchip: optimize 800MHz and 1GHz pll rates on RK3399
authorXing Zheng <zhengxing@rock-chips.com>
Tue, 1 Nov 2016 03:22:06 +0000 (11:22 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 1 Nov 2016 23:24:11 +0000 (00:24 +0100)
commit1dfbec3905548a0cbc820a62e1d8adee1c80bd41
tree84391beaab8316b28c46765605013109d1d35208
parent46dd212a0679872d2ad824e86672e53c1625ab1c
clk: rockchip: optimize 800MHz and 1GHz pll rates on RK3399

Usually, the 800MHz and 1GHz are supplied for CPLL and NPLL in the RK3399.
But dues to the carelessly copying from RK3036 when the RK3399 bringing up,
the refdiv == 6, it will increase the lock time, and it is not an optimal
configuration.

Let's fix them for the lock time and jitter are lower:
800 MHz:
- FVCO == 2.4 GHz, revdiv == 1.
1 GHz:
- FVCO == 3 GHz, revdiv == 1.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3399.c