Commit a027d49f authored by Stefan Agner's avatar Stefan Agner Committed by Shawn Guo

ARM: dts: imx7-colibri: use OF graph to describe the display

To make use of the new eLCDIF DRM driver OF graph description is
required. Describe the display using OF graph nodes.
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b721c91b
...@@ -44,6 +44,17 @@ / { ...@@ -44,6 +44,17 @@ / {
chosen { chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
panel: panel {
compatible = "edt,et057090dhu";
backlight = <&bl>;
port {
panel_in: endpoint {
remote-endpoint = <&lcdif_out>;
};
};
};
}; };
&bl { &bl {
...@@ -75,32 +86,11 @@ rtc: m41t0m6@68 { ...@@ -75,32 +86,11 @@ rtc: m41t0m6@68 {
}; };
&lcdif { &lcdif {
display = <&display0>;
status = "okay"; status = "okay";
display0: lcd-display { port {
bits-per-pixel = <16>; lcdif_out: endpoint {
bus-width = <18>; remote-endpoint = <&panel_in>;
display-timings {
native-mode = <&timing_vga>;
/* Standard VGA timing */
timing_vga: 640x480 {
clock-frequency = <25175000>;
hactive = <640>;
vactive = <480>;
hback-porch = <40>;
hfront-porch = <24>;
vback-porch = <32>;
vfront-porch = <11>;
hsync-len = <96>;
vsync-len = <2>;
de-active = <1>;
hsync-active = <0>;
vsync-active = <0>;
pixelclk-active = <0>;
};
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment