Skip to contentSkip to conversation

MIPI-DSI: LP-11 before atomic_pre_enable?

DISCUSSION Alexander Stein 1 participant 1 message May 9, 2023

lore
Share & tools
lore
#0 lore raw

Hello,

after .IMX8M[MNP] support for samsung-dsim has been integrated into next, I'm trying add support for the MIPI-DSI-to-DP bridge (TC358767) on my TQMa8MPxL/ MBa8MPxL board (imx8mp-tqma8mpql-mba8mpxl.dts).
Both, DSI host and device, probe and attach successfully.
But once lcdif is probing and tries to get modes from display I run into timeouts on the aux channel. Specifically AUX_TIMEOUT is set in DP0_AUXSTATUS after the transfer has been issued.
I've been told that for aux channel to be actually usable the clock line (and D0?) has to be in LP-11. Register 0x218 (DSI_LANESTATUS1) of tc358867 is set to 0x1c which indicates that clock and data lane 0 are not in stop state, while data lanes 1 to 3 are.
Is there a way to explicitly set a DSI host into LP-11 state before the pipeline is enabled? Reading DPCD is used to get the modes needed for configuring the pipeline.

Best regards,
Alexander

Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/