VAR-SOM-MX93 Display: Difference between revisions
(Rotating the Weston display: Fixes and enabled section rotate weston dispaly) |
|||
Line 55: | Line 55: | ||
You should modify the "data-mapping" and "panel-timings" properties to match your panel specification and rebuild the DTB file. | You should modify the "data-mapping" and "panel-timings" properties to match your panel specification and rebuild the DTB file. | ||
= Rotating the Weston display = | = Rotating the Weston display = | ||
Line 63: | Line 63: | ||
[output] | [output] | ||
name=LVDS-1 | name=LVDS-1 | ||
transform=90 | transform=rotate-90 | ||
Revision as of 14:15, 27 May 2025
This page is using the default release mx93-yocto-kirkstone-5.15.71_2.2.0-v1.0.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
Introduction
Display Interfaces
The i.MX 93 SoC includes one instance of LCDIF. One LCDIF can drive any of three displays or drive the same output to multiple displays:
- MIPI DSI 4-lane (up to 1920x1200p60)
- LVDS Bridge (LDB) (up to 1366x768p60 or 1280x800p60)
- Parallel Display
Adding custom LVDS panel
VAR-SOM-MX93 evaluation kit comes with 800x480 LCD panel. VAR-SOM-MX93 DTS file was created with this panel in mind. To support your custom LVDS panel, you should make several modifications
Referencing custom panel in the DTS file
The following code references Variscite panel in arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts under kernel source tree
lvds_panel { compatible = "sgd,gktw70sdae4se", "panel-lvds"; backlight = <&backlight>; width-mm = <153>; height-mm = <87>; label = "gktw70sdae4se"; data-mapping = "jeida-24"; status = "okay"; /* * Timings according to VLCD-CAP-GLD-LVDS datasheet. * pixel clock required: typ. 30 Mhz, max. 40 MHz * video PLL clock: 498 MHz (see lcdif node) * pixel clock: 498000000 Hz / 7 / 2 = 35571429 Hz */ panel-timing { clock-frequency = <35571429>; 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>; }; ... };
You should modify the "data-mapping" and "panel-timings" properties to match your panel specification and rebuild the DTB file.
Rotating the Weston display
To rotate the Weston display, edit /etc/xdg/weston/weston.ini.
For example, rotate the display 90 degrees:
[output] name=LVDS-1 transform=rotate-90