arm64: dts: rockchip: add vpll clock parent for DP 4K overlay#490
Merged
HeyMeco merged 1 commit intoMay 29, 2026
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dclk_vp0_srcparent tovpllin the recomputer-rk3576-devkit DP 4K overlay, enabling 4K@60Hz pixel clock support when DP is routed to VP0Problem
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 396000000After:
set dclk_vp0 to 533250000, get 533250000Details
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
🤖 Generated with Claude Code