AM62P: MIPI-DSI driver in uboot

Part Number: AM62P

Tool/software:

Hi,

I am using AM62P Soc with my custom board and it has MIPI-DSI interface to the display. I am able to get the display working with kernel by adding the following part to my custom dts file:
k3-am62p5-sk-microtips-mf070zima-lcd3.dtso « ti « dts « boot « arm64 « arch - ti-linux-kernel/ti-linux-kernel - This repo contains a Linux kernel that has been integrated with outstanding TI open source patches based on the open source Linux kernel found at kernel.org. Contributions to this kernel need to be sent to the open source community for review.

And with applying a custom patch to "/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c" in order to adapt the init sequence of the display, I can manage to have the display working.

Currently, I am trying to enable splash screen to uboot but unfortunately I see no support for "panel-ilitek-ili9881c.c", I can only find simple-panel which lvds I guess.
So, how to enable mipi-dsi display in uboot? Does anybody have experience with that?

Best regards,

Mohamed




  • Hi,
    We currently do not have support for DSI in UBoot since UBoot DSI driver does not yet exist for our SoC. This is currently in our pipeline, and may get implemented by the end of this year.

  • Thanks for your reply.
    is it a good idea to copy the "ilitek_ili9881c" driver from kernel into uboot? Would it work if I do it manually with the proper adaptions?
    like copy the whole directory under drivers/gpu/ to uboot, while modifying the Kconfig and Makefile?

  • I don't think so, the entire framework is different in UBoot than Linux, like there is no DRM,but framebuffer based architecture. You will need to adapt the code accordingly with the hooks and architecture present in UBoot.
    Also, ilitek_ili988.c is not sufficient, there is a cdns-dsi-core.c driver for our DPI to DSI bridge inside SoC, without translating it to UBoot too, it won't work.