I have an application where I need a second HDMI output in TX1. For that purpose I’m trying to enable the DSI port.
As a starting point I’m using panel-a-wuxga-8-0 and it seems to be working properly with the default configuration as the board boots properly and I can see the DSI port listed when a run xrandr.
My problem is that I need to use port B and not A. To try to enable this I changed nvidia,dsi-instance from DSI_INSTANCE_0 to DSI_INSTANCE_1. When I do so, I get a kernel panic in tegra_dsi_init_hw function when calling tegra_dsi_panelB_enable, specifically at this line:
val = readl(IO_ADDRESS(APB_MISC_GP_MIPI_PAD_CTRL_0));
Is this a known issue?
Am I missing something when trying to use port B? All I’m changing from the reference device tree is the nvidia,dsi-instance field.
Any help will be reaaly appriciated.
Just in case, I’m running this in a Jetson TX1 using Jetpack 3.2 (l4t 28.2).
Thanks for the path, I tested it and the kernel doesn’t crash any more but I don’t think port B is working. When I put a scope in the MIPI lines I see some activity but it looks more like noise.
Removing the tegra_dsi_panelB_enable function avoids the crash but setting the DSIB_MODE_ENABLE bit seems to be necessary to enable port B and is at that point where the kernel crashes.
I also tested with JP 2.3.1 and in this case the kernel boots fine but still don’t get anything in the MIPI lines.
I’ll continue debugging and see if I can find anything else.
May I ask why do you need to use DSI-B? Isn’t DSI-A working well? I fear it would take some time to investigate this issue and influence your project progress.
We are using a custom board to interface with Jetson eval board and it uses DSI-B so at this point DSI-A is not an option for us. We also need this to work with TX2 so I’ll give it a try and see how it works.
Do you know what is the status of this support in TX2?
Thanks a lot for your help and sorry about the delay in my responses. I can’t get the dmesg log today but I’ll try to do it tomorrow.
Regarding TX1/TX2, I need to have both working. I was able to get port B (DSI-C/D) working on TX2 so now I need to have the same functionality on TX1.
Please find attached the complete boot log. I created 2 versions: One is without any patch which is the one that crashes and one with the patch suggested by galmar.
In the second case the kernel doesn’t crash but in both cases port B (DSI_INSTANCE_1) is not working.
Yes, I have the full rootfs with ubuntu. It is configured for dual monitor. The HDMI output is working properly (I can see ubuntu desktop) but in the DSI output I see nothing. This is the same for any configuration (mirror, DSI right, DSI left, …).