This is a cache of https://discuss.96boards.org/t/how-to-config-mipi-dsi-driver-for-hikey960-instead-of-hdmi-output/1910. It is a snapshot of the page at 2024-10-31T05:58:26.143+0000.
How to config MIPI DSI driver for HiKey960 instead of HDMI output? - HiKey 960 - 96Boards Forum

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

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!!!

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