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

From Variscite Wiki
Line 5: Line 5:
The i.MX6UL has an RGB controller. We added SN75LVDS83B RGB to LVDS bridge on the custom board.
The i.MX6UL has an RGB controller. We added SN75LVDS83B RGB to LVDS bridge on the custom board.


== Switching to LVDS1 as main display ==
== Switching to LVDS as main display ==
Switching to LVDS1 display requires changing the "primary" of the lvds section flag in the device tree.
Switching to LVDS display requires changing the display paramters in the device tree,
Setting display to be LVDS1 by default: edit arch/arm/boot/dts/imx6qdl-var-som.dtsi and set section of the lvds1. When you set the "primary" property to the LVDS1 struct, make sure you remove it from the LVDS0 struct
 
<pre>
&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>;
};
};
};
};
 
<pre/>


:lvds-channel@1 {<br>
::fsl,data-mapping = "spwg";<br>
::fsl,data-width = <18>;<br>
::crtc = "ipu1-di1";<br>
::primary;<br>
:status = "okay";<br>
::display-timings {<br>
:::native-mode = <&timing1>;<br>
:::timing1: hsd100pxn1 {<br>
::::clock-frequency = <35714000>;<br>
::::hactive = <800>;<br>
::::vactive = <480>;<br>
::::hback-porch = <28>;<br>
::::hfront-porch = <17>;<br>
::::vback-porch = <13>;<br>
::::vfront-porch = <20>;<br>
::::hsync-len = <20>;<br>
::::vsync-len = <13>;<br>
:::};<br>
::};<br>
:};<br>
Please take a look on the wiki section for kernel out of tree to see how to compile the device tree.
Please take a look on the wiki section for kernel out of tree to see how to compile the device tree.

Revision as of 10:12, 28 December 2015

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.