Commit 5717aaa
authored
Waveshare dsi (#5)
* drm/panel: waveshare: Add automatic panel detection support
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>
* ARM: dts: overlays: waveshare-dsi: Add auto_detect panel option
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>
---------
Signed-off-by: Goodwill <646689853@qq.com>1 parent 63338cb commit 5717aaa
3 files changed
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6069 | 6069 | | |
6070 | 6070 | | |
6071 | 6071 | | |
6072 | | - | |
| 6072 | + | |
6073 | 6073 | | |
6074 | 6074 | | |
6075 | 6075 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
622 | 621 | | |
623 | 622 | | |
624 | 623 | | |
| |||
701 | 700 | | |
702 | 701 | | |
703 | 702 | | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
704 | 710 | | |
705 | 711 | | |
706 | 712 | | |
707 | 713 | | |
| 714 | + | |
708 | 715 | | |
709 | 716 | | |
710 | 717 | | |
| |||
714 | 721 | | |
715 | 722 | | |
716 | 723 | | |
717 | | - | |
| 724 | + | |
718 | 725 | | |
719 | 726 | | |
720 | 727 | | |
| |||
768 | 775 | | |
769 | 776 | | |
770 | 777 | | |
771 | | - | |
| 778 | + | |
772 | 779 | | |
773 | 780 | | |
774 | 781 | | |
| |||
0 commit comments