Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please follow the steps below to add the custom display timing data into the imx6qdl-seco_lvds_display.dtsi file.

Refer Verify the signal timing specifications of LCD in the datasheet and then calculate following parameters of

hback-porch, hfront-porch, vback-porch, vfront-porch, hsync-len and vsync-len

by using this open source reference , https://www.epanorama.net/faq/vga2rgb/calc.html

...

...

hfront-porch

...

vback-porch

...

vfront-porch

...

hsync-len

...

vsync-len

LDB Structure format:

To obtain information about the structure ldb, you can refer to the documentation presents into the kernel:

...

The MIPI DSI support on i.MX8 is enabled through the device trees located in the kernel source in arch/arm64/boot/dts/seco. MIPI-DSI on i.MX8 with IPU is supported with Synopsys hardware while i.MX8 uses the Mixel and the Advantec panepanels.

The SECO boards with i.MX8 SoC supports MIPI-DSI interface,

...

i.MX8M boards comes with 2 display controllers: , DCSS and LCDIF.:

  1. DCCS can be connected to HDMI, DP or MIPI-DSI and supports resolutions up to 4K.

  2. LCDIF can be connected only to MIPI-DSI and supports resolutions up to 1080p..

...

Display Interface should be added in the Linux Device Tree overlay and Panel panel must be enabled in Device tree.

The process of designing a Device Tree Overlay includes three macro steps:

  • writing a Device Tree Overlay (.dts) file;

  • generating a *.dtbo file, output of *.dts file build;

  • enable enabling the overlay through *.dtbo file.

...

To complete panel configuration it is necessary to configure correctly the following parameters:

  • lvds,datamap

...

  • : can be configured as “jeida“ or “spwg“, other configurations are not supported.

  • lvds,dual-channel

...

  • : if inserted, it enables bridge dual channel output

...

  • . The DSI video signal is splitted in LVDS channel A and LVDS channel B, refer to sn65dsi84 datasheet for more informations.

  • lvds,preserve-dsi-timings

...

  • :this parameter is usefull when LVDS display timing are synchronized with Data Enable, it should be removed if the panel is not DE sync.

...

Data Enable synchronized Panel

  • The LVDS panel that are not synchronized with Data Enable must be configured without lvds,preserve-dsi-timing parameter and clocks = <&si5351a 0> should be commented out to ensure timing sync.

...

Note

All this configurations can be useless in some cases, so the panel can’t turn on.
This is attributable to i.MX8 DSI video driver that

...

recalculates the panel timing to

...

adapt them to i.MX8 DSI video output

...

.
In these cases

...

a fine tuning in the admitted panel timing is necessary: clocks, front and back porch until the LVDS panel turn on.

SECO preconfigured Panels

Below some pre-built device tree overlay files for i.MX8 boards that passed validation: 10000 cycle on/off test. Once you done the setup , you can compile the kernel with added has been defined, kernel, including LVDS display resolution, can be built. After the compilation, please copy the file into device and boot the board and by setting up the custom device tree file with support of seco_config file.

Device tree display overlay for i.MX8

Board

Module

Peripheral

Overlays

C12

SMARC

MIPI-DSI to LVDS,

HDMI

seco-imx8mq-c12-lcdif-sn65dsi84.dtbo
seco-imx8mq-c12-dcss-sn65dsi84.dtbo
seco-imx8mq-c12-dual-display.dtbo
seco-imx8mq-c12-hdmi.dtbo
seco-imx8mq-c12-dcss-sn65dsi84-800x480.dtbo

C20

SBC

MIPI-DSI to LVDS,

HDMI

seco-imx8mq-c20-hdmi.dtbo
seco-imx8mq-c20-edp.dtbo
seco-imx8mq-c20-dcss-sn65dsi84.dtbo

C25

Q7

MIPI-DSI to LVDS,

MIPI-DSI to eDP,

HDMI

seco-imx8mq-c25-hdmi.dtbo
seco-imx8mq-c25-dcss-sn65dsi84.dtbo
seco-imx8mq-c25-dcss-sn65dsi84-800x480.dtbo
seco-imx8mq-c25-dcss-sn65dsi86.dtbo
seco-imx8mq-c25-dp.dtbo

C26

Q7

LVDS,

DP,

HDMI

seco-imx8qm-c26-hdmi.dtbo
seco-imx8qm-c26-dp.dtbo
seco-imx8qm-c26-lvds-single.dtbo
seco-imx8qm-c26-lvds-dual.dtbo
seco-imx8qm-c26-hdmi-lvds.dtbo
seco-imx8qm-c26-dp-lvds.dtbo
seco-imx8qm-c26-hdmiin.dtbo

C43

SBC

MIPI-DSI to eDP,

LVDS,

HDMI

seco-imx8qm-c43-hdmi.dtbo
seco-imx8qm-c43-hdmi-lvds.dtbo
seco-imx8qm-c43-dp-lvds.dtbo
seco-imx8qm-c43-sn65dsi86.dtbo
seco-imx8qm-c43-hdmi-sn65dsi86.dtbo
seco-imx8qm-c43-hdmi-lvds-sn65dsi86.dtbo
seco-imx8qm-c43-lvds-single.dtbo
seco-imx8qm-c43-lvds-dual.dtbo
seco-imx8qm-c43-hdmiin.dtbo

C72

μQ7

MIPI-DSI to LVDS,

MIPI-DSI to eDP

seco-imx8mm-c72-lcdif-sn65dsi84.dtbo
seco-imx8mm-c72-lcdif-sn65dsi86.dtbo

C61

SBC

MIPI-DSI to LVDS,

MIPI-DSI to eDP

seco-imx8mm-c61-lcdif-sn65dsi86.dtbo
seco-imx8mm-c61-lcdif-sn65dsi84.dtbo

C57

SBC

MIPI-DSI to eDP,

LVDS

seco-imx8qxp-c57-800x600-lvds.dtbo
seco-imx8qxp-c57-1280x800-lvds.dtbo
seco-imx8qxp-c57-1920x1080-dual-channel-lvds.dtbo
seco-imx8qxp-c57-1920x1200-dual-channel-lvds.dtbo
seco-imx8qxp-c57-sn65dsi86-edp.dtbo
seco-imx8qxp-c57-sn65dsi86-edp.dtbo

D16

SMARC

MIPI-DSI to eDP,

LVDS,

HDMI

seco-imx8qxp-d16-sn65dsi86-edp.dtbo
seco-imx8qxp-d16-adv7535-hdmi.dtbo
seco-imx8qxp-d16-lvds0-single.dtbo
seco-imx8qxp-d16-lvds0-dual.dtbo
seco-imx8qxp-d16-hdmi-edp.dtbo

...