OSDN Git Service

Doc/DT: Add DT binding documentation for TPO td043mtea1 panel
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 16 May 2014 09:47:32 +0000 (12:47 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 20 May 2014 11:39:47 +0000 (14:39 +0300)
Add DT binding documentation for TPO td043mtea1 panel

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

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