Skip to content

yy3588: fix eDP video port and timing, document panel requirement#508

Merged
SuperKali merged 2 commits into
armbian:rk-6.1-rkr5.1from
OpenSource-YYT:feat/youyeetoo-display-touch
Jul 5, 2026
Merged

yy3588: fix eDP video port and timing, document panel requirement#508
SuperKali merged 2 commits into
armbian:rk-6.1-rkr5.1from
OpenSource-YYT:feat/youyeetoo-display-touch

Conversation

@SuperKali

Copy link
Copy Markdown
Member

Follow-up to #507 after testing the eDP kit on YY3588 hardware.

eDP on VP1 does not work in practice: VP1 shares its PLL with VP0, the 141.5MHz dclk gets clamped to 132MHz and the VOP2 port mux times out on the second modeset, so the screen dies right after the boot logo. eDP now runs on VP2 like the vendor tree and DP moves to VP1. The panel timing follows the BOE QV116FHB-N81 datasheet typical, and the panel enable GPIO is dropped since GPIO0_C4 already belongs to the always-on wifi_disable regulator in the board DTS.

The overlay descriptions now warn that a display overlay must not be enabled without its panel attached: with the vendor kernel the display-subsystem bind stalls at boot, on eDP because force-hpd keeps training against a missing sink.

Tested on YY3588: dsi1 kit working with display and GT911 touch, eDP verified up to a stable 1920x1080p60 link (the sample kit here has an analog defect, so panel-side validation is partial).

SuperKali added 2 commits July 5, 2026 11:56
eDP on VP1 fails: VP1 shares its PLL with VP0 so the 141.5MHz dclk
gets clamped to 132MHz and the VOP2 port mux times out on the second
modeset. Move eDP to VP2 as the vendor does and hand DP VP1 instead.
Use the BOE QV116FHB-N81 datasheet typical timing and drop the panel
enable GPIO, GPIO0_C4 is already held high by the always-on
wifi_disable regulator in the board DTS.

Signed-off-by: SuperKali <hello@superkali.me>
…lays

With the vendor kernel the display-subsystem bind stalls at boot when
a display overlay is enabled without its panel attached, on eDP the
forced HPD keeps link training against a missing sink. State the
constraint in the overlay descriptions.

Signed-off-by: SuperKali <hello@superkali.me>
@SuperKali
SuperKali force-pushed the feat/youyeetoo-display-touch branch from 4e30945 to 0e45a19 Compare July 5, 2026 09:56
@SuperKali
SuperKali merged commit e9dd0ea into armbian:rk-6.1-rkr5.1 Jul 5, 2026
1 of 2 checks passed
@SuperKali
SuperKali deleted the feat/youyeetoo-display-touch branch July 5, 2026 09:58
@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: feeb84d2-db0e-4c20-b001-9e1024cea370

📥 Commits

Reviewing files that changed from the base of the PR and between 5c7219d and 0e45a19.

📒 Files selected for processing (3)
  • arch/arm64/boot/dts/rockchip/overlay/youyeetoo-yy3588-display-dsi0.dts
  • arch/arm64/boot/dts/rockchip/overlay/youyeetoo-yy3588-display-dsi1.dts
  • arch/arm64/boot/dts/rockchip/overlay/youyeetoo-yy3588-display-edp.dts

Disabled knowledge base sources:

  • Jira integration is disabled

You can enable these sources in your CodeRabbit configuration.


Walkthrough

This change updates metadata descriptions in the Youyeetoo YY3588 DSI0, DSI1, and eDP device tree overlays to document panel connection requirements and boot-stall avoidance guidance. The eDP overlay additionally adds panel-timing documentation comments and reroutes video processor connections, switching edp1_in_vp2 to enabled, changing fragment@7's connect target from vp1_out_edp1 to vp2_out_edp1, and adding fragments to disable dp0_in_vp2 while enabling dp0_in_vp1.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • armbian/linux-rockchip#507: Adds and finalizes the same YY3588 DSI0/DSI1/eDP display overlays that this PR modifies descriptions and routing for.

Suggested reviewers: igorpecovnik

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai
coderabbitai Bot requested a review from igorpecovnik July 5, 2026 10:01
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.

1 participant