The 2 DSI interfaces may be connected to 2 independent panels in bonded-DSI mode. Horizontal timing and DSC configuration are adjusted per individual panel in DSI host side. Support to multiple slice per packet is added for the device setup to test the usage case. A panel driver is included as an use case example.
Changes vs v3: - A panel driver is added as an use case example. - Move dsc_slice_per_pkt to struct drm_dsc_config. - Polish commit messages. - Link to v3: https://lore.kernel.org/all/[email protected] Changes vs v2: - Polish commit message to describe usage case and requirements to panel driver. - Remove changes in device tree and add dual_panel flag in mipi_dsi_device to pass information from panel to dsi host. - Drop the register programming to DSI_VBIF_CTRL, as no issue is seen in latest test. - Link to v2: https://lore.kernel.org/r/[email protected] Change vs v1: - Add device tree binding for dual panel case in handling frame width for DSC to avoid breaking existing dual-DSI case. - Leverage Marijn's patch to configure proper slice per interface in dsi_update_dsc_timing(). - Polish commit comments. - Link to v1: https://lore.kernel.org/all/20240829-sm8650-v6-11-hmd-pocf-mdss-quad-upstream-8-v1-0-bdb05b4b5...@linaro.org/ Signed-off-by: Jun Nie <[email protected]> --- Jun Nie (5): drm/msm/dsi: support DSC configurations with slice_per_pkt > 1 drm/mipi-dsi: Add flag to support dual-panel configurations drm/msm/dsi: Support dual panel use case with single CRTC dt-bindings: display: Add Synaptics R63455 panel support drm/panel: Add driver for Synaptics R63455 DSI panel .../bindings/display/panel/synaptics,r63455.yaml | 125 ++++ drivers/gpu/drm/msm/dsi/dsi_host.c | 33 +- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-synaptics-r63455.c | 631 +++++++++++++++++++++ include/drm/display/drm_dsc.h | 7 + include/drm/drm_mipi_dsi.h | 2 + 7 files changed, 792 insertions(+), 16 deletions(-) --- base-commit: 6654f8f33aa6229a90d4401519a62a2bf96cb851 change-id: 20260521-sm8650-7-1-bonded-dsi-7a7d5b70f687 Best regards, -- Jun Nie <[email protected]>
