RK3576: Enable USB-C DisplayPort Alt Mode output#2676
Merged
Conversation
Kernel patches, device tree, and kconfig changes to enable DP Alt Mode video output through the USB-C port on RK3576 devices. Tested on ANBERNIC RG Vita Pro with VITURE Pro XR glasses at 1920x1080@60Hz. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Author
|
Tested on ANBERNIC RG Vita Pro with VITURE Pro XR glasses. The kernel patches are working — After those commands a foot terminal appeared on the glasses at the correct resolution. Without them, sway routes nothing to DP-1 on its own — the automatic workspace routing and display-switching logic (dp_monitor) will follow in a separate PR. |
This was referenced May 9, 2026
Contributor
|
LGTM let's merge this :) If this doesn't work at boot I would guess that's a bug in the 111-sway-init script. It's supposed to prioritize HDMI and DP if connected. Logic starting here: |
pgratz1
added a commit
to pgratz1/distribution
that referenced
this pull request
May 9, 2026
When AR glasses or an external monitor connect via USB-C DP Alt Mode, automatically power the internal DSI-1 panel off and restore it on disconnect. dp_monitor subscribes to sway IPC output events because the RK3576 DP driver does not emit DRM hotplug uevents. Depends on: ROCKNIX#2676 (kernel patches enabling CONFIG_ROCKCHIP_DW_DP and CONFIG_TYPEC_DP_ALTMODE) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pgratz1
added a commit
to pgratz1/distribution
that referenced
this pull request
May 17, 2026
When AR glasses or an external monitor connect via USB-C DP Alt Mode, automatically power the internal DSI-1 panel off and restore it on disconnect. dp_monitor subscribes to sway IPC output events because the RK3576 DP driver does not emit DRM hotplug uevents. Depends on: ROCKNIX#2676 (kernel patches enabling CONFIG_ROCKCHIP_DW_DP and CONFIG_TYPEC_DP_ALTMODE) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pgratz1
added a commit
to pgratz1/distribution
that referenced
this pull request
May 24, 2026
When AR glasses or an external monitor connect via USB-C DP Alt Mode, automatically power the internal DSI-1 panel off and restore it on disconnect. dp_monitor subscribes to sway IPC output events because the RK3576 DP driver does not emit DRM hotplug uevents. Depends on: ROCKNIX#2676 (kernel patches enabling CONFIG_ROCKCHIP_DW_DP and CONFIG_TYPEC_DP_ALTMODE) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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
dp@27e40000) to the RK3576 base DTSICONFIG_ROCKCHIP_DW_DPandCONFIG_TYPEC_DP_ALTMODEin the RK3576 kernel configTested on ANBERNIC RG Vita Pro with VITURE Pro XR glasses at 1920×1080@60 Hz via USB-C.
This is a split of #2647 containing only the kernel/DTS portion, per reviewer request. Userspace display-switching scripts (dp_monitor, sway config) will follow in a separate PR once these patches are merged.
Test plan
🤖 Generated with Claude Code