Merge tag 'drm-intel-next-2016-02-14' of git://anongit.freedesktop.org/drm-intel...
[deliverable/linux.git] / Documentation / devicetree / bindings / media / i2c / tvp5150.txt
1 * Texas Instruments TVP5150 and TVP5151 video decoders
2
3 The TVP5150 and TVP5151 are video decoders that convert baseband NTSC and PAL
4 (and also SECAM in the TVP5151 case) video signals to either 8-bit 4:2:2 YUV
5 with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output formats.
6
7 Required Properties:
8 - compatible: value must be "ti,tvp5150"
9 - reg: I2C slave address
10
11 Optional Properties:
12 - pdn-gpios: phandle for the GPIO connected to the PDN pin, if any.
13 - reset-gpios: phandle for the GPIO connected to the RESETB pin, if any.
14
15 Optional nodes:
16 - connectors: The input connectors of tvp5150 have to be defined under
17 a subnode name "connectors" using the following format:
18
19 input-connector-name {
20 input connector properties
21 };
22
23 Each input connector must contain the following properties:
24
25 - label: a name for the connector.
26 - input: the input connector.
27
28 The possible values for the "input" property are:
29 0: Composite0
30 1: Composite1
31 2: S-Video
32
33 and on a tvp5150am1 and tvp5151 there is another:
34 4: Signal generator
35
36 The list of valid input connectors are defined in dt-bindings/media/tvp5150.h
37 header file and can be included by device tree source files.
38
39 Each input connector can be defined only once.
40
41 The device node must contain one 'port' child node for its digital output
42 video port, in accordance with the video interface bindings defined in
43 Documentation/devicetree/bindings/media/video-interfaces.txt.
44
45 Required Endpoint Properties for parallel synchronization:
46
47 - hsync-active: active state of the HSYNC signal. Must be <1> (HIGH).
48 - vsync-active: active state of the VSYNC signal. Must be <1> (HIGH).
49 - field-even-active: field signal level during the even field data
50 transmission. Must be <0>.
51
52 If none of hsync-active, vsync-active and field-even-active is specified,
53 the endpoint is assumed to use embedded BT.656 synchronization.
54
55 Example:
56
57 &i2c2 {
58 ...
59 tvp5150@5c {
60 compatible = "ti,tvp5150";
61 reg = <0x5c>;
62 pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>;
63 reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>;
64
65 connectors {
66 composite0 {
67 label = "Composite0";
68 input = <TVP5150_COMPOSITE0>;
69 };
70
71 composite1 {
72 label = "Composite1";
73 input = <TVP5150_COMPOSITE1>;
74 };
75
76 s-video {
77 label = "S-Video";
78 input = <TVP5150_SVIDEO>;
79 };
80 };
81
82 port {
83 tvp5150_1: endpoint {
84 remote-endpoint = <&ccdc_ep>;
85 };
86 };
87 };
88 };
This page took 0.03845 seconds and 5 git commands to generate.