Some MIPI DSI displays contain a controller that must be configured through MIPI DSI data lane 0. Other MIPI DSI displays may only require a GPIO. The latter are known as "simple panels".

On ConnectCore MP25 Development Kit, the MIPI DSI lines are routed to an external connector. Digi provides examples to support the following MIPI DSI displays:

  • NHD-3.5-640480EF-MSXP MIPI display, a 4-lane display, which contains a FL7703NI controller.

  • E55RB-I-MW346-C MIPI display, a 4-lane display, which contains a XM91080 controller.

Kernel configuration

You can manage the System-On-Chip MIPI DSI driver support through the following kernel configuration option:

  • STM MIPI DSI DRM driver (CONFIG_DRM_STM_DSI)

You can manage the MIPI DSI displays driver support through the following kernel configuration options:

  • Support for simple panels (CONFIG_DRM_PANEL_SIMPLE)

  • ForceLEAD FL7703NI panel driver (CONFIG_DRM_PANEL_FORCELEAD_FL7703NI)

  • Xiamen XM91080 panel driver (CONFIG_DRM_PANEL_XIAMEN_XM91080)

You only need to enable the above display driver support if you have the actual displays.

These options are enabled as built-in on the default ConnectCore MP25 kernel configuration file.

Platform driver mapping

The MIPI DSI drivers are located at:

File Description

drivers/gpu/drm/stm/dw_mipi_dsi-stm.c

DSI controller driver

drivers/gpu/drm/panel/panel-simple.c

Simple panel driver

drivers/gpu/drm/panel/panel-forcelead-fl7703ni.c

FL7703NI display controller driver

drivers/gpu/drm/panel/panel-xiamen-xm91080.c

Xiamen XM91080 panel driver

Device tree bindings and customization

The MIPI DSI interface device tree binding is documented at Documentation/devicetree/bindings/display/st,stm32-dsi.yaml.

Digi provides support for several MIPI DSI displays through device tree overlay files:

You can use these device tree overlays as a reference for adding support to your MIPI display.

Enable the MIPI DSI display

By default, the ConnectCore MP25 Development Kit routes the DSI lines to a DSI-to-HDMI bridge. To route them to the MIPI display external connector, close jumper J25.

To enable the NHD-3.5-640480EF-MSXP MIPI display, run the following command in U-Boot:

=> setenv overlays ${overlays} _ov_board_nhd-3-5-640480ef-msxp-mipi-dsi_ccmp25-dvk.dtbo

To enable the E55RB-I-MW346-C MIPI display, run the following command in U-Boot:

=> setenv overlays ${overlays} _ov_board_e55rb-i-mw346-c-mipi-dsi_ccmp25-dvk.dtbo

See Device tree files and overlays for more information on device tree overlays.