Skip to content

arm64: dts: rockchip: add vpll clock parent for DP 4K overlay#490

Merged
HeyMeco merged 1 commit into
armbian:rk-6.1-rkr5.1from
Seeed-Studio:fix/recomputer-rk3576-dp-4k-vpll-clock-parent
May 29, 2026
Merged

arm64: dts: rockchip: add vpll clock parent for DP 4K overlay#490
HeyMeco merged 1 commit into
armbian:rk-6.1-rkr5.1from
Seeed-Studio:fix/recomputer-rk3576-dp-4k-vpll-clock-parent

Conversation

@mingzhangqun
Copy link
Copy Markdown
Contributor

Summary

  • Set dclk_vp0_src parent to vpll in the recomputer-rk3576-devkit DP 4K overlay, enabling 4K@60Hz pixel clock support when DP is routed to VP0

Problem

The RK3576 has only one HDMI PHY PLL which is occupied by HDMI when both HDMI and DP are active. When the dp-4k overlay routes DP to VP0, the pixel clock falls back to gpll/cpll which can only provide ~396MHz via divider, far below the 533.25MHz needed for 3840x2160@60Hz.

Before: set dclk_vp0 to 533250000, get 396000000
After: set dclk_vp0 to 533250000, get 533250000

Details

With this change, the VOP2 driver's rockchip_rk3576_drm_dclk_set_rate() will reprogram vpll to 1066.5MHz and divide by 2 to get the exact 533.25MHz pixel clock.

Test plan

  • Verify DP 4K@60Hz output works on reComputer RK3576 Devkit with dp-4k overlay loaded
  • Verify HDMI output is unaffected when DP 4K overlay is not loaded

🤖 Generated with Claude Code

The RK3576 has only one HDMI PHY PLL which is occupied by HDMI when
both HDMI and DP are active. When the dp-4k overlay routes DP to VP0,
the pixel clock falls back to gpll/cpll which can only provide ~396MHz
via divider, far below the 533.25MHz needed for 3840x2160@60Hz.

Set dclk_vp0_src parent to vpll. The VOP2 driver's
rockchip_rk3576_drm_dclk_set_rate() will reprogram vpll to 1066.5MHz
and divide by 2 to get the exact 533.25MHz pixel clock.

Before: set dclk_vp0 to 533250000, get 396000000
After:  set dclk_vp0 to 533250000, get 533250000

Signed-off-by: mingzq <north_sea@qq.com>
@HeyMeco HeyMeco merged commit 60ffebc into armbian:rk-6.1-rkr5.1 May 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants