From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Zabel Date: Fri, 28 Feb 2014 13:37:28 +0000 Subject: Re: [PATCH 8/9] Doc/DT: Add DT binding documentation for TFP410 encoder Message-Id: <1393594648.3802.30.camel@paszta.hi.pengutronix.de> List-Id: References: <1393590016-9361-1-git-send-email-tomi.valkeinen@ti.com> <1393590016-9361-9-git-send-email-tomi.valkeinen@ti.com> In-Reply-To: <1393590016-9361-9-git-send-email-tomi.valkeinen@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tomi Valkeinen Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, Russell King - ARM Linux , dri-devel@lists.freedesktop.org, Andrzej Hajda , Laurent Pinchart , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Am Freitag, den 28.02.2014, 14:20 +0200 schrieb Tomi Valkeinen: > Add DT binding documentation for TFP410 encoder > > Signed-off-by: Tomi Valkeinen > Reviewed-by: Archit Taneja > --- > .../devicetree/bindings/video/ti,tfp410.txt | 41 ++++++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/video/ti,tfp410.txt > > diff --git a/Documentation/devicetree/bindings/video/ti,tfp410.txt b/Documentation/devicetree/bindings/video/ti,tfp410.txt > new file mode 100644 > index 000000000000..6a5a04627584 > --- /dev/null > +++ b/Documentation/devicetree/bindings/video/ti,tfp410.txt > @@ -0,0 +1,41 @@ > +TFP410 DPI to DVI encoder > +============> + > +Required properties: > +- compatible: "ti,tfp410" > + > +Optional properties: > +- gpios: power-down gpio Maybe call this powerdown-gpios? > +Required nodes: > +- Video port 0 for DPI input > +- Video port 1 for DVI output > + > +Example > +------- > + > +tfp410: encoder@0 { > + compatible = "ti,tfp410"; > + gpios = <&twl_gpio 2 GPIO_ACTIVE_LOW>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + tfp410_in: endpoint@0 { > + remote-endpoint = <&dpi_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + tfp410_out: endpoint@0 { > + remote-endpoint = <&dvi_connector_in>; > + }; > + }; > + }; > +}; regards Philipp