xref: /linux/Documentation/devicetree/bindings/media/i2c/tvp5150.txt (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1* Texas Instruments TVP5150 and TVP5151 video decoders
2
3The 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
5with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output formats.
6
7Required Properties:
8- compatible: value must be "ti,tvp5150"
9- reg: I2C slave address
10
11Optional 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
15The device node must contain one 'port' child node for its digital output
16video port, in accordance with the video interface bindings defined in
17Documentation/devicetree/bindings/media/video-interfaces.txt.
18
19Required Endpoint Properties for parallel synchronization:
20
21- hsync-active: active state of the HSYNC signal. Must be <1> (HIGH).
22- vsync-active: active state of the VSYNC signal. Must be <1> (HIGH).
23- field-even-active: field signal level during the even field data
24  transmission. Must be <0>.
25
26If none of hsync-active, vsync-active and field-even-active is specified,
27the endpoint is assumed to use embedded BT.656 synchronization.
28
29Example:
30
31&i2c2 {
32	...
33	tvp5150@5c {
34		compatible = "ti,tvp5150";
35		reg = <0x5c>;
36		pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>;
37		reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>;
38
39		port {
40			tvp5150_1: endpoint {
41				remote-endpoint = <&ccdc_ep>;
42			};
43		};
44	};
45};
46