Other Parts Discussed in Thread: SN65DSI84
Tool/software:
Currently On AM69, with SDK version 9 and TAG 09.02.00.010, DSI0 does not work well. There are couple of hard coding done and some SW bugs/limitations present in base SW.
- DSI0 does not work with all the resolution. There are bugs in Cadence DPI/DSI bridge and/or related drivers where all other modes are rejected.
- DSI0 does not work in 4 lane configuration. DSI0 only works in two lane configuration.
- DSI0 bridge driver is somehow dependent on sync pulse and not generic enough to support each DSI modes such as burst, sync pulse, sync event etc.
For example, If we do not explicitly provide MIPI_DSI_MODE_VIDEO_SYNC_PULSE from the end point bridge, driver is unable to calculate proper timings.
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c?h=ti-linux-6.1.y#n480
On top of that, due to some reasons, DSI0 does not work with positive sync pulses set by DRM_MODE_FLAG_PVSYNC and DRM_MODE_FLAG_PVSYNC flags.
DSI only works with DRM_MODE_FLAG_NVSYNC and DRM_MODE_FLAG_NHSYNC as hardcoded here in base SW.
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/gpu/drm/panel/panel-edp.c?id=50b06eec44cdae252de3154517333dca90394b12#n1741
We expect that DSI0 on AM69 should work for all the DSI modes and resolution.
We also need to see all the 4 lane DSI0 working. In addition there should not be any restriction on sync pulse polarity.
We are looking forward to get fixes for above mentioned issues from TI.
Could you please confirm and let us know that by when can we expect fixes for this ?
Thank you.
Regards,
Parth P