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!
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.
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.
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.