diff mbox

clk: rockchip: add 2016M to big cpu clk rate table

Message ID 1472684782-17940-1-git-send-email-zhengsq@rock-chips.com (mailing list archive)
State Not Applicable, archived
Delegated to: Stephen Boyd
Headers show

Commit Message

Shunqian Zheng Aug. 31, 2016, 11:06 p.m. UTC
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(+)

Comments

zhengxing Sept. 1, 2016, 6:08 a.m. UTC | #1
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.
Heiko Stübner Sept. 1, 2016, 11:35 a.m. UTC | #2
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
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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),