diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2016-12-13 05:09:18 -0500 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2017-01-02 06:16:33 -0500 |
commit | c982534433b490030b84782e5a46c1c339dd09e0 (patch) | |
tree | c08ec142335ef184c8d6ce251f761fb1da3dfcad | |
parent | c1f7de04c72a66c68250ac0a31dc26a70ddb855e (diff) |
ARM: dts: da850-lcdk: add the vga-bridge node
Add the vga-bridge node to the board DT together with corresponding
ports and vga connector. This allows to retrieve the edid info from
the display automatically.
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r-- | arch/arm/boot/dts/da850-lcdk.dts | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index 1ef8a7c57cb6..3b76c17ab559 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts | |||
@@ -69,6 +69,45 @@ | |||
69 | gpios = <&gpio 37 GPIO_ACTIVE_LOW>; | 69 | gpios = <&gpio 37 GPIO_ACTIVE_LOW>; |
70 | }; | 70 | }; |
71 | }; | 71 | }; |
72 | |||
73 | vga-bridge { | ||
74 | compatible = "ti,ths8135"; | ||
75 | #address-cells = <1>; | ||
76 | #size-cells = <0>; | ||
77 | |||
78 | ports { | ||
79 | #address-cells = <1>; | ||
80 | #size-cells = <0>; | ||
81 | |||
82 | port@0 { | ||
83 | reg = <0>; | ||
84 | |||
85 | vga_bridge_in: endpoint { | ||
86 | remote-endpoint = <&lcdc_out_vga>; | ||
87 | }; | ||
88 | }; | ||
89 | |||
90 | port@1 { | ||
91 | reg = <1>; | ||
92 | |||
93 | vga_bridge_out: endpoint { | ||
94 | remote-endpoint = <&vga_con_in>; | ||
95 | }; | ||
96 | }; | ||
97 | }; | ||
98 | }; | ||
99 | |||
100 | vga { | ||
101 | compatible = "vga-connector"; | ||
102 | |||
103 | ddc-i2c-bus = <&i2c0>; | ||
104 | |||
105 | port { | ||
106 | vga_con_in: endpoint { | ||
107 | remote-endpoint = <&vga_bridge_out>; | ||
108 | }; | ||
109 | }; | ||
110 | }; | ||
72 | }; | 111 | }; |
73 | 112 | ||
74 | &pmx_core { | 113 | &pmx_core { |
@@ -254,3 +293,15 @@ | |||
254 | &memctrl { | 293 | &memctrl { |
255 | status = "okay"; | 294 | status = "okay"; |
256 | }; | 295 | }; |
296 | |||
297 | &lcdc { | ||
298 | status = "okay"; | ||
299 | pinctrl-names = "default"; | ||
300 | pinctrl-0 = <&lcd_pins>; | ||
301 | |||
302 | port { | ||
303 | lcdc_out_vga: endpoint { | ||
304 | remote-endpoint = <&vga_bridge_in>; | ||
305 | }; | ||
306 | }; | ||
307 | }; | ||