DART-6UL/VAR-SOM-MX7 Display: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
= Configuring your display in the Device Tree = | = Configuring your display in the Device Tree = | ||
To add support for your own display, edit the following section in the Device Tree. | 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. | You can use the instructions on the "Build the Linux kernel from source code" Wiki section, to compile the Device Tree. | ||
Revision as of 09:57, 25 September 2016
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>; }; }; }; };