summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi
diff options
context:
space:
mode:
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2015-08-05 23:47:08 +0200
committerTony Lindgren <tony@atomide.com>2015-08-06 09:37:41 +0200
commit98c6d5552d45d4c2308c5890ac8fa70d640e50b8 (patch)
tree2ba6bb460424e5a02050d7e4114091c46f6e4314 /arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi
parentARM: dts: omap3-devkit8000: Add DSS' DVI support (diff)
downloadlinux-98c6d5552d45d4c2308c5890ac8fa70d640e50b8.tar.xz
linux-98c6d5552d45d4c2308c5890ac8fa70d640e50b8.zip
ARM: dts: omap3-devkit8000: add LCD panels
Devkit8000 was sold with a 4.3" LCD or 7.0" or without. This patch creates one dts file per bundle. Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi')
-rw-r--r--arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi b/arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi
new file mode 100644
index 000000000000..332766d12b3a
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi
@@ -0,0 +1,38 @@
+/*
+ * Author: Anthoine Bourgeois <anthoine.bourgois@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "omap3-devkit8000-common.dtsi"
+/ {
+ aliases {
+ display0 = &lcd0;
+ display1 = &dvi0;
+ display2 = &tv0;
+ };
+
+ lcd0: display@0 {
+ compatible = "panel-dpi";
+ label = "lcd";
+
+ enable-gpios = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;
+
+ port {
+ lcd_in: endpoint {
+ remote-endpoint = <&dpi_lcd_out>;
+ };
+ };
+ };
+};
+
+&dss {
+ port {
+ dpi_lcd_out: endpoint@1 {
+ remote-endpoint = <&lcd_in>;
+ data-lines = <24>;
+ };
+ };
+};