summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/da850-lcdk.dts
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2016-12-13 11:09:18 +0100
committerSekhar Nori <nsekhar@ti.com>2017-01-02 12:16:33 +0100
commitc982534433b490030b84782e5a46c1c339dd09e0 (patch)
treec08ec142335ef184c8d6ce251f761fb1da3dfcad /arch/arm/boot/dts/da850-lcdk.dts
parentARM: dts: da850: rename the display node label (diff)
downloadlinux-c982534433b490030b84782e5a46c1c339dd09e0.tar.xz
linux-c982534433b490030b84782e5a46c1c339dd09e0.zip
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>
Diffstat (limited to 'arch/arm/boot/dts/da850-lcdk.dts')
-rw-r--r--arch/arm/boot/dts/da850-lcdk.dts51
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 @@
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
};
+
+ vga-bridge {
+ compatible = "ti,ths8135";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ vga_bridge_in: endpoint {
+ remote-endpoint = <&lcdc_out_vga>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ vga_bridge_out: endpoint {
+ remote-endpoint = <&vga_con_in>;
+ };
+ };
+ };
+ };
+
+ vga {
+ compatible = "vga-connector";
+
+ ddc-i2c-bus = <&i2c0>;
+
+ port {
+ vga_con_in: endpoint {
+ remote-endpoint = <&vga_bridge_out>;
+ };
+ };
+ };
};
&pmx_core {
@@ -254,3 +293,15 @@
&memctrl {
status = "okay";
};
+
+&lcdc {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&lcd_pins>;
+
+ port {
+ lcdc_out_vga: endpoint {
+ remote-endpoint = <&vga_bridge_in>;
+ };
+ };
+};