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 MP15 Development Kit, the MIPI DSI lines are routed to an external connector.
Digi provides examples to support several MIPI DSI displays of both types:
-
DLC0200CCP04DF-2 MIPI display, which contains a ST7701 controller.
-
NHD-3.5-640480EF-MSXP MIPI display, which contains a FL7703NI controller.
-
SV4E MIPI Analyzer, which does not require configuration and acts as a simple panel.
Connection between ConnectCore MP15 Development Kit MIPI DSI connector and the above mentioned displays is not direct. Review the specific schematic for each display and perform the connection accordingly with the help of adapter boards. |
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:
-
Sitronix ST7701 panel driver (
CONFIG_DRM_PANEL_SITRONIX_ST7701
) -
ForceLEAD FL7703NI panel driver (
CONFIG_DRM_PANEL_FORCELEAD_FL7703NI
) -
Support for simple panels (
CONFIG_DRM_PANEL_SIMPLE
)
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 MP15 kernel configuration file.
Platform driver mapping
The MIPI DSI drivers are located at:
File | Description |
---|---|
DSI controller driver |
|
ST7701 display controller driver |
|
FL7703NI display controller driver |
|
Simple 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:
-
DLC0200CCP04DF-2 MIPI display in
_ov_board_dlc0200ccp04df-mipi-dsi_ccmp15-dvk.dts
. -
NHD-3.5-640480EF-MSXP MIPI display in
_ov_board_nhd-3-5-640480ef-msxp-mipi-dsi_ccmp15-dvk.dts
. -
SV4E MIPI analyzer in
_ov_board_sv4e-mipi-analyzer_ccmp15-dvk.dts
.
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 MP15 Development Kit routes the DSI lines to a DSI-to-HDMI bridge. To route them to the MIPI display external connector, set micro-switch BOOT.4 to the ON position.
To enable the DLC0200CCP04DF-2 MIPI display, run the following command in U-Boot:
=> setenv overlays ${overlays} _ov_board_dlc0200ccp04df-mipi-dsi_ccmp15-dvk.dtbo
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_ccmp15-dvk.dtbo
To enable the SV4E MIPI analyzer, run the following command in U-Boot:
=> setenv overlays ${overlays} _ov_board_sv4e-mipi-analyzer_ccmp15-dvk.dtbo
See Device tree files and overlays for more information on device tree overlays.