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

From Variscite Wiki
(Reorder categories)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageHeader|DART-6UL- LVDS}} {{DocImage|category1=DART-6UL|category2=Yocto}} __toc__
{{PageHeader|DART-6UL/VAR-SOM-MX7- Display}} {{DocImage|category1=Yocto|category2=Debian}}[[Category:DART-6UL]][[Category:VAR-SOM-MX7]] __toc__
= LVDS boot arguments =
= Introduction =
The i.MX6UL & i.MX7 have an RGB controller. We added SN75LVDS83B RGB to LVDS bridge on our custom boards.<br>
So, you can use either an LVDS or RGB display.


== Introduction ==
= Configuring your display in the Device Tree =
The i.MX6UL has an RGB controller. We added SN75LVDS83B RGB to LVDS bridge on the custom board.
To add support for your own display, edit the following section in the Device Tree.<br>
 
You can use the instructions on the "Build the Linux kernel from source code" Wiki section, to compile the Device Tree.
== Switching to LVDS as main display ==
Switching to LVDS display requires changing the display paramters in the device tree,


<pre>
<pre>
Line 16: Line 16:
status = "okay";
status = "okay";


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


Line 23: Line 23:
native-mode = <&timingr0>;
native-mode = <&timingr0>;
timingr0: hsd100pxn1 {
timingr0: hsd100pxn1 {
clock-frequency = <35714000>;
clock-frequency = <29232000>;
hactive = <800>;
hactive = <800>;
vactive = <480>;
vactive = <480>;
hback-porch = <24>;
hfront-porch = <40>;
hfront-porch = <15>;
hback-porch = <40>;
vback-porch = <13>;
vsync-len = <48>;
vfront-porch = <20>;
vback-porch = <29>;
hsync-len = <20>;
vfront-porch = <13>;
vsync-len = <13>;
hsync-len = <3>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <0>;
};
};
};
};
Line 37: Line 41:
};
};
</pre>
</pre>
Please take a look on the wiki section for kernel out of tree to see how to compile the device tree.

Latest revision as of 18:51, 6 June 2023

DART-6UL/VAR-SOM-MX7- Display

Introduction

The i.MX6UL & i.MX7 have an RGB controller. We added SN75LVDS83B RGB to LVDS bridge on our custom boards.
So, you can use either an LVDS or RGB display.

Configuring your display in the Device Tree

To add support for your own display, edit the following section in the Device Tree.
You can use the instructions on the "Build the Linux kernel from source code" Wiki section, to compile the Device Tree.

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

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

	        display-timings {
			native-mode = <&timingr0>;
			timingr0: hsd100pxn1 {
				clock-frequency = <29232000>;
				hactive = <800>;
				vactive = <480>;
				hfront-porch = <40>;
				hback-porch = <40>;
				vsync-len = <48>;
				vback-porch = <29>;
				vfront-porch = <13>;
				hsync-len = <3>;
				hsync-active = <0>;
				vsync-active = <0>;
				de-active = <1>;
				pixelclk-active = <0>;
			};
		};
	};
};