...
Please refer the respective SECO boards device tree (.dts)file.
For eg: SECOseco-imx8MMimx8mm-c72.dts
Code Block |
---|
panel_lvds: lvds_panel { compatible = "auo,p215hca-high"; #address-cells = <1>; #size-cells = <0>; }; |
Most of the i.MX8 is configured in SN65DSI84 Bridge for LVDS, so you can find the Device tree overlay to enable and disable the display file without disturbing main device tree.After the panel configuration customer needs to configure bridge with the file:
Code Block |
---|
linux-seco/arch/arm64/boot/dts/seco/overlays/seco-imx8mm-c72-lcdif-sn65dsi84-overlay.dts |
In below some pre-built device tree overlay file for i.MX8 boards and listed Once you done the setup , you can compile the This is the content:
Code Block |
---|
target = <&adv_bridge>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
lvds,datamap = "jeida";
lvds,dual-channel;
lvds,channel-swap;
lvds,preserve-dsi-timings;
/*include/drm/drm_mipi_dsi.h*/
dsi,mode-flags = <0x805>; /*MIPI_DSI_MODE_VIDEO*/
clocks = <&si5351a 0>;
status = "okay"; |
To complete panel configuration it is necessary to configure correctly the following parameters:
lvds,datamap
it 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.
NOTES:
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 recalculate the panel timing to adapth them to i.MX8 DSI video output, in these cases is necessary a fine tuning in the admitted panel timing: 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 LVDS display resolution. after After the compilation please copy the file into device and boot the board and setting up the custom device tree file with support of seco_config file.
...