Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473958 > unrolled thread

[PATCH] clk: rockchip: add 2016M to big cpu clk rate table

Started byShunqian Zheng <zhengsq@rock-chips.com>
First post2016-09-01 01:10 +0200
Last post2016-09-01 13:40 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] clk: rockchip: add 2016M to big cpu clk rate table Shunqian Zheng <zhengsq@rock-chips.com> - 2016-09-01 01:10 +0200
    Re: [PATCH] clk: rockchip: add 2016M to big cpu clk rate table Xing Zheng <zhengxing@rock-chips.com> - 2016-09-01 08:10 +0200
    Re: [PATCH] clk: rockchip: add 2016M to big cpu clk rate table Heiko Stübner <heiko@sntech.de> - 2016-09-01 13:40 +0200

#1473958 — [PATCH] clk: rockchip: add 2016M to big cpu clk rate table

FromShunqian Zheng <zhengsq@rock-chips.com>
Date2016-09-01 01:10 +0200
Subject[PATCH] clk: rockchip: add 2016M to big cpu clk rate table
Message-ID<scmNP-gB-1@gated-at.bofh.it>
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>
---
 drivers/clk/rockchip/clk-rk3399.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c
index ede6c47..a6a15c6 100644
--- a/drivers/clk/rockchip/clk-rk3399.c
+++ b/drivers/clk/rockchip/clk-rk3399.c
@@ -375,6 +375,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),
-- 
1.9.1

[toc] | [next] | [standalone]


#1474068

FromXing Zheng <zhengxing@rock-chips.com>
Date2016-09-01 08:10 +0200
Message-ID<sctmh-4TZ-1@gated-at.bofh.it>
In reply to#1473958
Hi Shunqian,

On 2016年09月01日 07:06, Shunqian Zheng wrote:
> 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>
> ---
>   drivers/clk/rockchip/clk-rk3399.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c
> index ede6c47..a6a15c6 100644
> --- a/drivers/clk/rockchip/clk-rk3399.c
> +++ b/drivers/clk/rockchip/clk-rk3399.c
> @@ -375,6 +375,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),
It looks good to me.

Reviewed-by: Xing Zheng <zhengxing@rock-chips.com>

Thanks.

-- 
- Xing Zheng

[toc] | [prev] | [next] | [standalone]


#1474340

FromHeiko Stübner <heiko@sntech.de>
Date2016-09-01 13:40 +0200
Message-ID<scyvE-1dR-29@gated-at.bofh.it>
In reply to#1473958
Am Donnerstag, 1. September 2016, 07:06:22 schrieb Shunqian Zheng:
> 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>

applied to my clk-branch for 4.9 with Xing's review-tag


Thanks
Heiko

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web