This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Ti Support team,
I am using sn65dsi84 on nxp i.MX8m mini SOC with yocto platform, kernel 5.15.52.
There has ti-sn65dsi83.c driver in <kernel_root>/driver/gpu/drm/bridge which compatible with sn65dsi84 in kernel 5.15.52 opensource.
And I'm facing some problem on bridge attach to DSI source like below error log:
[ 2.329794] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/bus@32c00000/mipi_dsi@32e10000 to encoder DSI-34: -517
[ 2.341480] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[ 2.349755] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517
I attached our bootlog, devicetree, sn65dsi84 register dump and our schematic as to_ti.zip for reference.
Many thanks!
BS,
Wayne Huang
Wayne
This looks to be a Linux driver issue which is outside of what we can support. I did some search on the error message and this is what I found, https://community.nxp.com/t5/i-MX-Processors/quot-Failed-to-attach-bridge-quot-when-trying-to-use-MIPI-DSI/td-p/977243.
Looking at the schematic, do you have the 10k pullup on EN? Have you checked and make sure you are meeting the DSI84 power up sequence requirement?
Are you also able to read/write the DSI84 registers?
Thanks
David
Hi David,
Yes, I can read/write sn65dsi84 register, which means that our power on sequence is correct?
Does TI has example driver for sn65dsi84 bridge for reference?
Maybe I can use this to clarify my issue.
BS,
Wayne Huang
Wayne
We do not have any current reference code but there is old reference code here: e2e.ti.com/.../2006135 It may implement an older version of the initialization sequence. You need to follow the sequence that is in the datasheet. You can also use the DSI-Tuner to help configure the register settings.
Thanks
David