diff options
author | Stefan Agner <stefan@agner.ch> | 2017-03-29 19:21:09 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-04-10 04:16:19 -0400 |
commit | a027d49fc193f22b92a49d1f906f94c95f278636 (patch) | |
tree | 38780ccb2125ca8f07bcab0101f8cd605af25fe4 | |
parent | b721c91bdc645f6c13221a3b14c70dd6c239794f (diff) |
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: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 38 |
1 files changed, 14 insertions, 24 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi index 373ee19196a6..7a98a45a0d95 100644 --- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi +++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | |||
@@ -44,6 +44,17 @@ | |||
44 | chosen { | 44 | chosen { |
45 | stdout-path = "serial0:115200n8"; | 45 | stdout-path = "serial0:115200n8"; |
46 | }; | 46 | }; |
47 | |||
48 | panel: panel { | ||
49 | compatible = "edt,et057090dhu"; | ||
50 | backlight = <&bl>; | ||
51 | |||
52 | port { | ||
53 | panel_in: endpoint { | ||
54 | remote-endpoint = <&lcdif_out>; | ||
55 | }; | ||
56 | }; | ||
57 | }; | ||
47 | }; | 58 | }; |
48 | 59 | ||
49 | &bl { | 60 | &bl { |
@@ -75,32 +86,11 @@ | |||
75 | }; | 86 | }; |
76 | 87 | ||
77 | &lcdif { | 88 | &lcdif { |
78 | display = <&display0>; | ||
79 | status = "okay"; | 89 | status = "okay"; |
80 | 90 | ||
81 | display0: lcd-display { | 91 | port { |
82 | bits-per-pixel = <16>; | 92 | lcdif_out: endpoint { |
83 | bus-width = <18>; | 93 | remote-endpoint = <&panel_in>; |
84 | |||
85 | display-timings { | ||
86 | native-mode = <&timing_vga>; | ||
87 | |||
88 | /* Standard VGA timing */ | ||
89 | timing_vga: 640x480 { | ||
90 | clock-frequency = <25175000>; | ||
91 | hactive = <640>; | ||
92 | vactive = <480>; | ||
93 | hback-porch = <40>; | ||
94 | hfront-porch = <24>; | ||
95 | vback-porch = <32>; | ||
96 | vfront-porch = <11>; | ||
97 | hsync-len = <96>; | ||
98 | vsync-len = <2>; | ||
99 | de-active = <1>; | ||
100 | hsync-active = <0>; | ||
101 | vsync-active = <0>; | ||
102 | pixelclk-active = <0>; | ||
103 | }; | ||
104 | }; | 94 | }; |
105 | }; | 95 | }; |
106 | }; | 96 | }; |