From: Laurent Pinchart Date: Tue, 26 Aug 2014 17:45:30 +0000 (+0200) Subject: video: Add DT binding documentation for VGA connector X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d777ea95ed7e93fbdb9ea500776efb76288d757;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git video: Add DT binding documentation for VGA connector The VGA connector is described by a single input port and an optional DDC bus. Signed-off-by: Laurent Pinchart --- diff --git a/Documentation/devicetree/bindings/video/vga-connector.txt b/Documentation/devicetree/bindings/video/vga-connector.txt new file mode 100644 index 000000000000..c727f298e7ad --- /dev/null +++ b/Documentation/devicetree/bindings/video/vga-connector.txt @@ -0,0 +1,36 @@ +VGA Connector +============= + +Required properties: + +- compatible: "vga-connector" + +Optional properties: + +- label: a symbolic name for the connector corresponding to a hardware label +- ddc-i2c-bus: phandle to the I2C bus that is connected to VGA DDC + +Required nodes: + +The VGA connector internal connections are modeled using the OF graph bindings +specified in Documentation/devicetree/bindings/graph.txt. + +The VGA connector has a single port that must be connected to a video source +port. + + +Example +------- + +vga0: connector@0 { + compatible = "vga-connector"; + label = "vga"; + + ddc-i2c-bus = <&i2c3>; + + port { + vga_connector_in: endpoint { + remote-endpoint = <&adv7123_out>; + }; + }; +};