MX8 Display: Difference between revisions
(Created page with "<!-- Set release according to "release" parameter in URL and use RELEASE_SUMO_V1.0_VAR-SOM-MX8X as default --> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- --> {{#lst...") |
No edit summary |
||
Line 2: | Line 2: | ||
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- | --> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- | ||
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_SUMO_V1.0_VAR-SOM-MX8X}}}} <!-- | --> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_SUMO_V1.0_VAR-SOM-MX8X}}}} <!-- | ||
--> {{PageHeader|{{#var:HARDWARE_NAME}} Display}} {{DocImage|category1=Yocto|category2= | --> {{PageHeader|{{#var:HARDWARE_NAME}} Display}} {{DocImage|category1=Yocto|category2={{#var:HARDWARE_NAME}}}}__toc__ | ||
= Introduction = | = Introduction = | ||
== LVDS == | == LVDS == |
Revision as of 15:13, 2 September 2019
Introduction
LVDS
VAR-SOM-MX8X supports 2 LVDS interfaces.
Variscite Symphony carrier board comes with 2 LVDS connectors, one connector per interface.
By default Variscite panel is connected in LVDS#A connector.
Adding custom LVDS panel
VAR-SOM-MX8X evaluation kit comes with 800x480 LCD panel. VAR-SOM-MX8X DTS file was created with this panel in mind. To support your custom LVDS panel, you should make several modifications
Referencing custom LVDS panel in the DTS file
The following code references Variscite panel in fsl-imx8qxp-var-som-common.dtsi under kernel source tree
&ldb1_phy { status = "ok"; }; &ldb1 { status = "ok"; lvds-channel@0 { fsl,data-mapping = "jeida"; fsl,data-width = <24>; status = "ok"; display-timings { lvds { clock-frequency = <29232000>; hactive = <800>; vactive = <480>; hback-porch = <40>; hfront-porch = <40>; vback-porch = <29>; vfront-porch = <13>; hsync-len = <48>; vsync-len = <3>; hsync-active = <0>; vsync-active = <0>; de-active = <1>; pixelclk-active = <0>; }; }; }; };
You may need to modify "fsl,data-mapping", "fsl,data-width" and "display-timings" properties to match your panel specification.
For more information see Documentation/devicetree/bindings/display/imx/ldb.txt in the kernel source tree.