...
The panel is configured by the following nodes located in the board device tree, for example arch/arm64/boot/dts/seco/seco-imx8mm-c61.dts:
Code Block |
---|
panel_edp: edp_panel { compatible = "boe,ev156fhm"; #address-cells = <1>; #size-cells = <0>; }; panel_lvds: lvds_panel { compatible = "auo,p215hca-high"; #address-cells = <1>; #size-cells = <0>; }; |
These nodes represent the links between the device tree and the panel-simple.c structure through the compatibleproperty to an existing or newly added panel from the panel-simple driver.
...
In the Seco BSP's the references panels are configured and tested with 10000 on/off cycle. Below the panel structure from drivers/gpu/drm/panel/panel-simple.c for LVDS 1920x1080 from Seco BSP9:
...
In this case the configured panel is the: auo,p215hca-high, all the parameters configured in struct display_timing are derived from panel datasheet.
...
Once the setup has been defined, the Kernel, including LVDS display resolution, can be built. After compiling, please copy the file into the device and boot the board by setting up the custom device tree file with the support of seco_config file.
Device tree display overlay for i.MX8
...