How to config MIPI DSI driver for HiKey960 instead of HDMI output?


#1

I observed that there is an example driver under \hikey-linaro\drivers\gpu\drm\hisilicon\kirin960\panel\panel-hikey960-nte300nts.c.

Now, I am modifying the MIPI’s related parameters (i.e. hdisplay, hsync_start…and the command under hikey_panel_prepare) for my LCD’s panel. However, I still could not init it and display image correctly.

Might I get someone’s experience for supporing LCD’s porting guide? How to port and tune the LCD’s related parameters?

Thanks for your help in advance!!!


#2

Maybe your panel uses a different set of init commands? Did you modify the MIPI init command for your panel?
https://android.googlesource.com/kernel/hikey-linaro/+/android-hikey-linaro-4.4/drivers/gpu/drm/hisilicon/kirin960/panel/panel-hikey960-nte300nts.c#54