VAR-SOM-MX91 Display

From Variscite Wiki


VAR-SOM-MX91 Display

Introduction

Display Interfaces

The i.MX 91 SoC features an LCDIF for RGB Parallel Display up to 1366x768p60 or 1280x800p60.

Adding custom LVDS panel

DART-MX91 evaluation kit comes with 800x480 LCD panel only if equipped with Sonata-Board. DART-MX91 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/imx91-var-dart-sonata.dtsi 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";

		panel-timing {
			clock-frequency = <71000000>;
			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.