DART-6UL/VAR-SOM-MX7 Display: Difference between revisions

From Variscite Wiki
No edit summary
(No difference)

Revision as of 09:43, 25 September 2016

DART-6UL- LVDS

LVDS boot arguments

Introduction

The i.MX6UL has an RGB controller. We added SN75LVDS83B RGB to LVDS bridge on the custom board.

Switching to LVDS as main display

Switching to LVDS display requires changing the display paramters in the device tree,

&lcdif {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_lcdif_dat
		     &pinctrl_lcdif_ctrl>;
	display = <&display0>;
	status = "okay";

        display0: display {
		bits-per-pixel = <16>;
		bus-width = <24>;

	        display-timings {
			native-mode = <&timingr0>;
			timingr0: hsd100pxn1 {
				clock-frequency = <35714000>;
				hactive = <800>;
				vactive = <480>;
				hback-porch = <24>;
				hfront-porch = <15>;
				vback-porch = <13>;
				vfront-porch = <20>;
				hsync-len = <20>;
				vsync-len = <13>;
			};
		};
	};
};

Please take a look on the wiki section for kernel out of tree to see how to compile the device tree.