Skip to content

Waveshare dsi - #7655

Open
EngineerWill wants to merge 2 commits into
raspberrypi:rpi-6.18.yfrom
waveshareteam:waveshare-dsi
Open

EngineerWill wants to merge 2 commits into
raspberrypi:rpi-6.18.yfrom
waveshareteam:waveshare-dsi

Conversation

@EngineerWill

Copy link
Copy Markdown
Contributor

Summary

Reverts the automatic panel detection previously added for the Waveshare 10.1inch DSI LCD (E) and replaces it with two explicit overlay parameters:

  • 10_1_inchE_4lane — 1920x1200 @ 60fps, 4 DSI lanes
  • 10_1_inchE_2lane — 1920x1200 @ 30fps, 2 DSI lanes

Why

After the auto-detection support was merged, several people tested it and found the behaviour unfriendly for end customers:

  • runtime detection via I2C (registers 0xd0–0xd3) could select an unexpected mode/rotation depending on the panel controller state, requiring manual intervention;
  • customers had no direct way to force a known-good configuration.

This change removes the auto-detect code path (I2C reads, rotation handling and the portrait 1200x1920 modes) and keeps only the default landscape orientation. The panel variant is now chosen explicitly via the overlay parameter, and the driver writes the desired refresh rate to register 0xd0 accordingly.

Add support for Waveshare automatic detection DSI panels which
identify themselves at runtime via I2C registers. The driver reads
screen type, rotation and refresh rate from registers 0xd0-0xd3
to select the appropriate display mode and DSI lane configuration.

Supported configurations include 1200x1920 and 1920x1200 panels
at both 30fps (2 lanes) and 60fps (4 lanes) refresh rates.

Signed-off-by: Goodwill <646689853@qq.com>
Add the auto_detect overlay parameter to select the automatic detection
panel compatible string (waveshare,automatic-detection-panel). This
enables runtime panel detection via I2C for Waveshare DSI displays
that support automatic identification.

Signed-off-by: Goodwill <646689853@qq.com>
@6by9

6by9 commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

I'm confused as this seems to be adding autodetection support, not reverting it. Have you pushed the correct branch?

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