STM32 board support eDP bridge?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-16 1:39 AM
Hi,
We are using stm32mp157c MCU/board and it has DSI output built-in. Now we want to add display port support via DSI to eDP bridge SN65DSI86. It seems that stm32 does not support Displayport output or it has never been done. At least the driver dw_mipi_dsi-stm.c should be updated not to require a panel.
Any idea how this can be achieved please?
- Labels:
-
DSI
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 3:16 AM
@Erwan SZYMANSKI​ As of now it looks like an issue with stm dsi driver that it does not retry or called too early, I think the bridge works as intended. But here it is mate, I did not apply any patch to the bridge, only dsi. Thanks again for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 3:17 AM
Here is my patched generic dsi driver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 3:17 AM
stm dsi driver with some debug prints, otherwise intact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 3:19 AM
@Erwan SZYMANSKI (ST Employee)​ As of now it looks like an issue with stm dsi driver that it does not retry or called too early, I think the bridge works as intended. But here it is mate, I did not apply any patch to the bridge, only dsi. Thanks again for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 3:20 AM
Here is my patched generic dsi driver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 3:20 AM
stm dsi driver with some debug prints, otherwise intact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 7:11 AM
@LLe.1​ ,
Well we are facing the known issue between I2C and DSI probe (which is one of the things better managed in kernel 5.15 / OSTL 4.0). In fact, in a perfect world, your bridge is supposed to probe before your DSI and the, all should be good. But in your case, it is not.
If we want to do a quick hotfix to test, maybe you could try to do the following thing. Find the exact return that fails thanks to your logs and try to return a -EPROBE_DEFER instead. It will ask the DSI to retry its probe later.
Regards.
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-27 8:25 AM
Hi @LLe.1​ ,
Do you have any update from your side ? I saw that some patches on the bridge driver also deal with your probe ordering issue, such as this patch.
Maybe it could be interesting to take a look at it.
Regards.
Erwan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-30 2:15 PM
@Erwan SZYMANSKI​ sorry for late reply, I was in holiday. I checked the code and the function actually returns correct flag -EPROBE_DEFER so it is not that. However, I think the latest patch you mentioned may solve the issue, thanks for finding out. I will try it soon and let you know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-03 10:04 PM
@Erwan SZYMANSKI​ the patch doesn't help because dw_mipi_dsi_bridge_attach() is called even before ti-bridge probe is called.
I start to think that I will need somehow to get new version of the bridge driver -> new kernel + drm. Or what is your suggestion?
