Hi NXP Community Members,
We are facing issues while porting the MIPI DSI panel driver to Uboot.
We have our customized ST7703 panel, which we have successfully ported at the kernel layer with VAR-DART-MX8MM and the same is working fine. As we want to enable the splash screen, we tried to port the same driver at the u-boot layer, based on the rm67191 reference panel driver.
Our LCD is connected directly to the MIPI DSI interface. Post porting, we are able to see that the probe and initialization of panel are going correct, logs as attached. But the MIPI clock and LCDIF clock registers are not getting set.
We strongly feel that there is some issue with the clock settings at the u-boot level. Following are the differences in the register values at the kernel and u-boot levels.
| Register | Register addr | Kernel Layer | Uboot Layer |
| LCDIF_CTRL1 | 0x10 | 0x3072100 | 0x70100 |
| LCDIF_CUR_BUF | 0x40 | 0x0 to 0x78100000 | 0xbf000000 |
| LCDIF_NEXT_BUF | 0x50 | 0x78100000 | 0xbf000000 |
| LCDIF_VDCTRL0 | 0x70 | 0x10300003 | 0x11300003 |
As mentioned above these are the value dumps between the kernel layer and u-boot layer. And as communicated on the portal, without changing these registers variscite is able to use the RM67191 panel, then why do we need to change these register settings. We have tried your following commit id:
We request your help on the same.
Thanks in advance!