OSDN Git Service

clk: rockchip: add 2016M to big cpu clk rate table on rk3399
authorShunqian Zheng <zhengsq@rock-chips.com>
Wed, 31 Aug 2016 23:06:22 +0000 (07:06 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 4 Sep 2016 20:58:06 +0000 (22:58 +0200)
We would prefer the 2016M as 2.0G than 1992M which seems odd, adding
it to big cpu clk rate table then we can set 2016M in dts.

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

index c284c01..ea32b7e 100644 (file)
@@ -379,6 +379,7 @@ static struct rockchip_cpuclk_rate_table rk3399_cpuclkb_rates[] __initdata = {
        RK3399_CPUCLKB_RATE(2184000000, 1, 11, 11),
        RK3399_CPUCLKB_RATE(2088000000, 1, 10, 10),
        RK3399_CPUCLKB_RATE(2040000000, 1, 10, 10),
+       RK3399_CPUCLKB_RATE(2016000000, 1, 9, 9),
        RK3399_CPUCLKB_RATE(1992000000, 1, 9, 9),
        RK3399_CPUCLKB_RATE(1896000000, 1, 9, 9),
        RK3399_CPUCLKB_RATE(1800000000, 1, 8, 8),