Skip to content

Commit ad75bcd

Browse files
committed
arm64: dts: rockchip: rk3576: assign dclk_vp{0,1}_src to VPLL
Reparent dclk_vp{0,1}_src from GPLL to VPLL on Rockchip RK3576. VPLL is a programmable PLL with no other consumers, allowing the CCF to synthesize accurate pixel clocks for the two display outputs with arbitrary modes, as long as only one of them is active at a time (or using the HDMI PHY as the clock source, which works for HDMI modes up to 4K@60Hz). This gives much greater flexibility for display modes as compared to the boot-time default of using GPLL, which is effectively fixed at 1188 MHz due to a large number of system components depending on it and making runtime rate changes unrealistic. Signed-off-by: Alexey Charkov <alchark@flipper.net>
1 parent 05d8941 commit ad75bcd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3576.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,8 @@
13791379
"dclk_vp1",
13801380
"dclk_vp2",
13811381
"pll_hdmiphy0";
1382+
assigned-clocks = <&cru DCLK_VP0_SRC>, <&cru DCLK_VP1_SRC>;
1383+
assigned-clock-parents = <&cru PLL_VPLL>, <&cru PLL_VPLL>;
13821384
iommus = <&vop_mmu>;
13831385
power-domains = <&power RK3576_PD_VOP>;
13841386
rockchip,grf = <&sys_grf>;

0 commit comments

Comments
 (0)