Doc/DT: Add binding doc for lgphilips,lb035q02.txt
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 15 May 2014 10:01:59 +0000 (13:01 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 20 May 2014 11:39:45 +0000 (14:39 +0300)
Add DT bindings documentation for LG.Philips LB035Q02 LCD panel.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: devicetree@vger.kernel.org
Documentation/devicetree/bindings/video/lgphilips,lb035q02.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/video/lgphilips,lb035q02.txt b/Documentation/devicetree/bindings/video/lgphilips,lb035q02.txt
new file mode 100644 (file)
index 0000000..1a1e653
--- /dev/null
@@ -0,0 +1,33 @@
+LG.Philips LB035Q02 Panel
+=========================
+
+Required properties:
+- compatible: "lgphilips,lb035q02"
+- enable-gpios: panel enable gpio
+
+Optional properties:
+- label: a symbolic name for the panel
+
+Required nodes:
+- Video port for DPI input
+
+Example
+-------
+
+lcd-panel: panel@0 {
+       compatible = "lgphilips,lb035q02";
+       reg = <0>;
+       spi-max-frequency = <100000>;
+       spi-cpol;
+       spi-cpha;
+
+       label = "lcd";
+
+       enable-gpios = <&gpio7 7 0>;
+
+       port {
+               lcd_in: endpoint {
+                       remote-endpoint = <&dpi_out>;
+               };
+       };
+};