* [PATCH] clk: rockchip: Add 1.6GHz PLL rate
@ 2018-03-13 20:37 Derek Basehore
2018-03-13 21:57 ` Doug Anderson
2018-03-13 23:38 ` Heiko Stuebner
0 siblings, 2 replies; 3+ messages in thread
From: Derek Basehore @ 2018-03-13 20:37 UTC (permalink / raw)
To: linux-arm-kernel
We need this rate to generate 100, 200, and 228.57MHz from the same
PLL. 228.57MHz is useful for a pixel clock when the VPLL is used for
and external display.
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
---
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 6847120b61cd..3e57c6eef93d 100644
--- a/drivers/clk/rockchip/clk-rk3399.c
+++ b/drivers/clk/rockchip/clk-rk3399.c
@@ -57,6 +57,7 @@ static struct rockchip_pll_rate_table rk3399_pll_rates[] = {
RK3036_PLL_RATE(1656000000, 1, 69, 1, 1, 1, 0),
RK3036_PLL_RATE(1632000000, 1, 68, 1, 1, 1, 0),
RK3036_PLL_RATE(1608000000, 1, 67, 1, 1, 1, 0),
+ RK3036_PLL_RATE(1600000000, 3, 200, 1, 1, 1, 0),
RK3036_PLL_RATE(1584000000, 1, 66, 1, 1, 1, 0),
RK3036_PLL_RATE(1560000000, 1, 65, 1, 1, 1, 0),
RK3036_PLL_RATE(1536000000, 1, 64, 1, 1, 1, 0),
--
2.16.2.660.g709887971b-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] clk: rockchip: Add 1.6GHz PLL rate
2018-03-13 20:37 [PATCH] clk: rockchip: Add 1.6GHz PLL rate Derek Basehore
@ 2018-03-13 21:57 ` Doug Anderson
2018-03-13 23:38 ` Heiko Stuebner
1 sibling, 0 replies; 3+ messages in thread
From: Doug Anderson @ 2018-03-13 21:57 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On Tue, Mar 13, 2018 at 1:37 PM, Derek Basehore <dbasehore@chromium.org> wrote:
> We need this rate to generate 100, 200, and 228.57MHz from the same
> PLL. 228.57MHz is useful for a pixel clock when the VPLL is used for
> and external display.
>
> Signed-off-by: Derek Basehore <dbasehore@chromium.org>
> ---
> drivers/clk/rockchip/clk-rk3399.c | 1 +
> 1 file changed, 1 insertion(+)
Looks good to me. I spent a little bit of time poking at this and I
agreed it's the best way to make 1.6 GHz in
<http://crosreview.com/956677>. Lin Huang at Rockchip also said:
> yes, we also use this setting for 1.6GHz in our internal branch.
...and they seem to agree this is a sane setting. Thus:
Reviewed-by: Douglas Anderson <dianders@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] clk: rockchip: Add 1.6GHz PLL rate
2018-03-13 20:37 [PATCH] clk: rockchip: Add 1.6GHz PLL rate Derek Basehore
2018-03-13 21:57 ` Doug Anderson
@ 2018-03-13 23:38 ` Heiko Stuebner
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2018-03-13 23:38 UTC (permalink / raw)
To: linux-arm-kernel
Am Dienstag, 13. M?rz 2018, 21:37:19 CET schrieb Derek Basehore:
> We need this rate to generate 100, 200, and 228.57MHz from the same
> PLL. 228.57MHz is useful for a pixel clock when the VPLL is used for
> and external display.
>
> Signed-off-by: Derek Basehore <dbasehore@chromium.org>
applied for 4.17
Thanks
Heiko
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-13 23:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-13 20:37 [PATCH] clk: rockchip: Add 1.6GHz PLL rate Derek Basehore
2018-03-13 21:57 ` Doug Anderson
2018-03-13 23:38 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).