VAR-SOM-MX93 Display

From Variscite Wiki


VAR-SOM-MX93 Display

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";

		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..