aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2013-06-04 11:26:23 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 10:29:09 -0400
commitb610b5928dc04095b9b24b83e4ddbb399d933611 (patch)
tree0fe6465e9da8fb90eb3c77bda419579c2f9cd2ef /Documentation
parent379d2cf4b5267ac94f8b4569545bd524e0cca29a (diff)
[media] media: i2c: tvp514x: add OF support
add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Hans Verkuil <hans.verkuil@cisco.com> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Cc: Sakari Ailus <sakari.ailus@iki.fi> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Rob Landley <rob@landley.net> Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open-source@linux.davincidsp.com Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/media/i2c/tvp514x.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/tvp514x.txt b/Documentation/devicetree/bindings/media/i2c/tvp514x.txt
new file mode 100644
index 000000000000..46752cc71f2e
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/tvp514x.txt
@@ -0,0 +1,44 @@
1* Texas Instruments TVP514x video decoder
2
3The TVP5146/TVP5146m2/TVP5147/TVP5147m1 device is high quality, single-chip
4digital video decoder that digitizes and decodes all popular baseband analog
5video formats into digital video component. The tvp514x decoder supports analog-
6to-digital (A/D) conversion of component RGB and YPbPr signals as well as A/D
7conversion and decoding of NTSC, PAL and SECAM composite and S-video into
8component YCbCr.
9
10Required Properties :
11- compatible : value should be either one among the following
12 (a) "ti,tvp5146" for tvp5146 decoder.
13 (b) "ti,tvp5146m2" for tvp5146m2 decoder.
14 (c) "ti,tvp5147" for tvp5147 decoder.
15 (d) "ti,tvp5147m1" for tvp5147m1 decoder.
16
17- hsync-active: HSYNC Polarity configuration for endpoint.
18
19- vsync-active: VSYNC Polarity configuration for endpoint.
20
21- pclk-sample: Clock polarity of the endpoint.
22
23For further reading on port node refer to Documentation/devicetree/bindings/
24media/video-interfaces.txt.
25
26Example:
27
28 i2c0@1c22000 {
29 ...
30 ...
31 tvp514x@5c {
32 compatible = "ti,tvp5146";
33 reg = <0x5c>;
34
35 port {
36 tvp514x_1: endpoint {
37 hsync-active = <1>;
38 vsync-active = <1>;
39 pclk-sample = <0>;
40 };
41 };
42 };
43 ...
44 };