Commit 55f8bc2
committed
drm/panel: waveshare-dsi-v2: Add DSI command retry logic for cold boot reliability
Similar to the I2C-based Waveshare panel driver, the MIPI DSI DCS-based
driver (v2) can fail on cold boot when the panel controller is not ready
to receive commands immediately after reset.
Add defensive initialization:
- 50ms stabilization delay at start of DCS command sequence
- Retry logic (3 attempts, 50ms between retries) for DCS writes
This ensures reliable initialization across varying cold boot timing
conditions.
Signed-off-by: Andrew Seredyn <[email protected]>1 parent 7ba76a9 commit 55f8bc2
File tree
1 file changed
+19
-4
lines changed- drivers/gpu/drm/panel
1 file changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
1707 | 1710 | | |
1708 | 1711 | | |
1709 | 1712 | | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
1710 | 1716 | | |
1711 | 1717 | | |
1712 | 1718 | | |
| |||
1720 | 1726 | | |
1721 | 1727 | | |
1722 | 1728 | | |
1723 | | - | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
1727 | 1741 | | |
| 1742 | + | |
1728 | 1743 | | |
1729 | 1744 | | |
1730 | 1745 | | |
| |||
0 commit comments