Hello,
I am running into an issue when trying to send MIPI DSI initialization commands from a iMX8MP to a ST7701S Panel Driver on a ER-TFT040-2 LCD Panel. After attaching to the bridge, I am attempting to send the initialization commands, but get the error "mipi_dsi: wait payload tx done time out" on every single one of the commands. This is also causing the board to not boot as the Kernel panics with the error "Kernel panic - not syncing: Asynchronous SError Interrupt." I have included my ST7701S panel driver and kernel log as apart of this, any solutions or help would be greatly appreciated!
Solved! Go to Solution.
Thank you for the feedback, however, this was not the issue.
I ended up finding what the issue was and in the ST7701 driver the initialization function was being called by the prepare function which was happening prior to the clock starting. Hence, the error because none of the tx bits were being removed from queue with the clock not active. Moving the initialization function to happen before the enable and after the clock was activated fixed it.
hello liamsul42,I have the same situation, I tried several methods and it didn't work. could you tell me exactly how to move, thank you very much!
I was only getting this error due to the clock not running and not being able to clock out any bits from the FIFO queue that was sending the MIPI DSI commands. I would recommend ensuring that your clock is running and able to send out the packets/payloads from the FIFO queue.
Thanks for your advice.I can get LPDT data with a logic analyzer, so the timeout is not important for me, I commented this code.
Hello,
such exceptions can be due to memory errors, one can run ddr test and
rebuild image.
https://community.nxp.com/docs/DOC-340179
Also please check that you did not copied some binaries from previous builds
or other kernel revisions. Recommended fully rebuild image with modified sources.
Regards
Thank you for the feedback, however, this was not the issue.
I ended up finding what the issue was and in the ST7701 driver the initialization function was being called by the prepare function which was happening prior to the clock starting. Hence, the error because none of the tx bits were being removed from queue with the clock not active. Moving the initialization function to happen before the enable and after the clock was activated fixed it.
This did the trick for me, partially. Do get an image, but my vertical line count seems off, image is replicated 2.5 times vertically.
I also removed the IOVCC and VCC in the device tree..
@liamsul42
Hi,
if i move st7701_init_sequence(st7701) this function to st7701_enable but it is streaming and not able to see the data
Can you please share the code to umoorthi@phoenix.tech