Hello @jemish_1990 and The NXP community
We are working on a product based on IMX8MM processor.
I am also facing the same issue and similar requirement (we need to show the battery status at u-boot on LCD )
I tried to port the driver taking reference of kernel but unable to read/write from panel through driver.
I followed following steps:
Step-1 Added the dsi_host user class which is not in present u-boot version( U-Boot 2019.04-lf-5.4.y_v2019.04_var01+gbf77d94114)
https://elixir.bootlin.com/u-boot/latest/source/drivers/video/dsi-host-uclass.c#L37
https://elixir.bootlin.com/u-boot/latest/C/ident/UCLASS_DSI_HOST
Step-2 Added the MIPI DSI host controller driver
https://elixir.bootlin.com/u-boot/latest/source/drivers/video/dw_mipi_dsi.c#L846
Step-3 Added the mipi_display.c that contains a set of dsi helpers function
https://elixir.bootlin.com/u-boot/latest/source/drivers/video/mipi_dsi.c
Step-4 Added the panel driver taking reference of the following
https://elixir.bootlin.com/u-boot/latest/source/drivers/video/raydium-rm68200.c
Step-5 We added videobridge that can connect/bind the dsi-host controller and the panel driver
https://elixir.bootlin.com/u-boot/latest/source/drivers/video/stm32/stm32_dsi.c#L509
Step-6 added Lcdif support taking some reference from this
https://elixir.bootlin.com/u-boot/latest/source/drivers/video/stm32/stm32_ltdc.c#L469
Step-7 done changes in dtsi taking this reference dtsi
https://elixir.bootlin.com/u-boot/latest/source/arch/arm/dts/stm32f769-disco-u-boot.dtsi#L80
Step-8 Tried to probe UCLASS_VIDEO from board file using the uboot_probe_all
After all this getting timeout while reading from register @jemish_1990 were you able to get the logo on the LCD please share your knowledge with us.
Thanks in advance!