drm: bridge: ti-sn65dsi83: Fix DSI mode flags for stable LVDS output
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 2 repliesApplied
- v31 patch 20 repliesSuperseded
Changes in v4 from the cover letter
- Split the original patch into two separate patches:
- Enable HFP/HBP transmission by removing MIPI_DSI_MODE_VIDEO_NO_HFP and MIPI_DSI_MODE_VIDEO_NO_HBP
- Disable MIPI_DSI_MODE_VIDEO_BURST separately
- Updated commit messages
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm: bridge: ti-sn65dsi83: Remove NO_HFP and NO_HBP mode flags for LVDS stabilitydrivers/ | +0 | 1 reply | |
| 2/2 | drm: bridge: ti-sn65dsi83: Disable video burst mode for LVDS stabilitydrivers/ | +2 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Luca Ceresoli | Alexander Stein |
|---|---|---|
| 1/2 | T-b R-b | T-b |
| 2/2 | T-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] drm: bridge: ti-sn65dsi83: Fix DSI mode flags for stable LVDS output
Hi all,
This patch refines dual-link LVDS support in the SN65DSI83/84 DSI-to-LVDS bridge driver.
Recent upstream changes added support for dual-link LVDS timing adjustments and related fixes:
- Halving horizontal timing parameters
- Test pattern handling adjustments
- DSI clock range correction
However, during validation on our platform, LVDS output remained unstable for certain panels due to the DSI mode configuration.
Specifically, the following flags were found to cause issues:
- MIPI_DSI_MODE_VIDEO_NO_HFP
- MIPI_DSI_MODE_VIDEO_NO_HBP
These disable transmission of horizontal front porch (HFP) and back porch (HBP) timings over the DSI link. The SN65DSI bridge relies on complete horizontal timing information to reconstruct LVDS timings, and omitting these parameters results in incorrect or unstable output.
Reference:
SN65DSI84 Datasheet, Section 7.4.7 (page 20):
https://www.ti.com/lit/ds/symlink/sn65dsi84.pdf?ts=1776924088430&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FSN65DSI84
Additionally:
- MIPI_DSI_MODE_VIDEO_BURST
While supported by the hardware, burst mode operation depends on continuous clocking from the DSI host. In practice, this may lead to instability depending on the host controller implementation, as the link may transition to LP mode between bursts.
Removing these flags ensures that:
- Full timing information is transmitted
- The bridge can correctly reconstruct LVDS timings
- Output remains stable across tested panels
This patch updates the DSI mode configuration accordingly.
Changes in v4:
- Split the original patch into two separate patches:
- Enable HFP/HBP transmission by removing MIPI_DSI_MODE_VIDEO_NO_HFP and MIPI_DSI_MODE_VIDEO_NO_HBP
- Disable MIPI_DSI_MODE_VIDEO_BURST separately
- Updated commit messages
Changes in v3:
- Rebased on top of latest upstream changes
- Dropped previously proposed dual-link DT property and related handling as equivalent functionality is now available upstream
- Refined DSI mode flag configuration to ensure stable LVDS output
- Added detailed justification for removing NO_HFP/NO_HBP and BURST mode
Changes in v2:
- Introduced ti,dual-link-video-mode DT property
- Added DT binding documentation for the new property
- Update driver to read the DT property and apply dual-link configuration conditionally
- Adjust DSI mode flags when dual-link video mode is enabled
- Update commit messages
Thanks,
Anusha
Sudarshan Shetty (2):
drm: bridge: ti-sn65dsi83: Remove NO_HFP and NO_HBP mode flags for
LVDS stability
drm: bridge: ti-sn65dsi83: Disable video burst mode for LVDS stability
drivers/gpu/drm/bridge/ti-sn65dsi83.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1