Display¶
[[Category:]]
LVDS¶
supports one dual-channel LVDS interface.
evaluation kit comes with two LVDS connectors, one connector per LVDS channel.
By default Variscite panel is attached to LVDS#A connector.
Adding custom LVDS panel¶
To support different LVDS panel, several modifications may be required.
On VAR-SOM-MX8 LVDS panel is configured in arch/arm64/boot/dts/freescale/-lvds.dtsi
On SPEAR-MX8 LVDS panel is configured in arch/arm64/boot/dts/freescale/-lvds.dtsi
&ldb1_phy {
status = "okay";
};
&ldb1 {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
status = "okay";
display-timings {
lvds {
clock-frequency = <35714000>;
hactive = <800>;
vactive = <480>;
hback-porch = <39>;
hfront-porch = <39>;
vback-porch = <29>;
vfront-porch = <13>;
hsync-len = <47>;
vsync-len = <2>;
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.
Setting Weston Desktop Resolution¶
The default Weston uses maximum resolution supported by display.
To modify Weston resolution, edit /etc/xdg/weston/weston.ini and set size parameter in shell section.
For example:
For new settings to take effect restart weston by running
Rotating the Weston display¶
To rotate the Weston display, edit /etc/xdg/weston/weston.ini.
For example, rotate the display 90 degrees:
Expression error: Unexpected > operator.