Documentation: DT: Add documentation for ti,opa362 bindings
authorMarek Belisko <marek@goldelico.com>
Wed, 3 Dec 2014 21:33:21 +0000 (22:33 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 13 Jan 2015 10:53:15 +0000 (12:53 +0200)
Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Documentation/devicetree/bindings/video/ti,opa362.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/video/ti,opa362.txt b/Documentation/devicetree/bindings/video/ti,opa362.txt
new file mode 100644 (file)
index 0000000..f96083c
--- /dev/null
@@ -0,0 +1,38 @@
+OPA362 analog video amplifier
+
+Required properties:
+- compatible: "ti,opa362"
+- enable-gpios: enable/disable output gpio
+
+Required node:
+- Video port 0 for opa362 input
+- Video port 1 for opa362 output
+
+Example:
+
+tv_amp: opa362 {
+       compatible = "ti,opa362";
+       enable-gpios = <&gpio1 23 0>;  /* GPIO to enable video out amplifier */
+
+       ports {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               port@0 {
+                       reg = <0>;
+                       opa_in: endpoint@0 {
+                               remote-endpoint = <&venc_out>;
+                       };
+               };
+
+               port@1 {
+                       reg = <1>;
+                       opa_out: endpoint@0 {
+                               remote-endpoint = <&tv_connector_in>;
+                       };
+               };
+       };
+};
+
+
+