clk: rockchip: Add 1.6GHz PLL rate
Subsystems (2)
PATCH 1/1 clk: rockchip: Add 1.6GHz PLL rate
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.
--- drivers/clk/rockchip/clk-rk3399.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/rockchip/clk-rk3399.c +1 -0
@@ -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),
Signature · 1 line
2.16.2.660.g709887971b-goog
Hi,
Quoted 8 lines · 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 <[email protected]>--- 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
Quoted 1 line · <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:
Heiko Stuebner
maintainerAm Dienstag, 13. M?rz 2018, 21:37:19 CET schrieb Derek Basehore:
Quoted 5 lines
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 <[email protected]>
applied for 4.17
Thanks
Heiko