I've been finally able to have the module autoloaded after overriding some of the settings for the GPIO pins the in device tree.
Not sure how the mechanism works actually I took the code from a similar, yet not the same Panel driver, working overlay.
now I'm experiencing some issues related with Panel initialization in the init_sequence() function, which I wrote basing on manufacturer provided command sequence.
Here for example it failed on the third command (SETDISP = 0xb3) but other times it failed the 1st or 2nd command.
from dmsg:
any idea on how to debug it?
Not sure how the mechanism works actually I took the code from a similar, yet not the same Panel driver, working overlay.
now I'm experiencing some issues related with Panel initialization in the init_sequence() function, which I wrote basing on manufacturer provided command sequence.
Code:
static int customlcd_init_sequence(struct st7703 *ctx){struct mipi_dsi_device *dsi_ctx = to_mipi_dsi_device(ctx->dev);mipi_dsi_dcs_write_seq(dsi_ctx, ST7703_CMD_SETEXTC, 0xF1, 0x12, 0x83);mipi_dsi_dcs_write_seq(dsi_ctx, ST7703_CMD_SETAPID, 0x00, 0x00, 0x00, 0xDA, 0x80);mipi_dsi_dcs_write_seq(dsi_ctx, ST7703_CMD_SETDISP, 0x3C, 0x12, 0x30);mipi_dsi_dcs_write_seq(dsi_ctx, ST7703_CMD_SETRGBIF, 0x10, 0x10, 0x28, 0x28, 0x03, 0xFF, 0x00, 0x00, 0x00, 0x00); ......
from dmsg:
Code:
[ 13.887576] [drm:vc4_dsi_host_transfer [vc4]] *ERROR* DSI transfer failed whilst in HS mode stat: 0x00020803[ 13.887696] panel-sitronix-st7703 fe700000.dsi.0: sending command 0xb3 failed: -110[ 13.887711] panel-sitronix-st7703 fe700000.dsi.0: Panel init sequence failed: -110
Statistics: Posted by platux — Mon Mar 31, 2025 9:26 pm