xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/tvp7002.txt (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1* Texas Instruments TV7002 video decoder
2
3The TVP7002 device supports digitizing of video and graphics signal in RGB and
4YPbPr color space.
5
6Required Properties :
7- compatible : Must be "ti,tvp7002"
8
9Optional Properties:
10- hsync-active: HSYNC Polarity configuration for the bus. Default value when
11  this property is not specified is <0>.
12
13- vsync-active: VSYNC Polarity configuration for the bus. Default value when
14  this property is not specified is <0>.
15
16- pclk-sample: Clock polarity of the bus. Default value when this property is
17  not specified is <0>.
18
19- sync-on-green-active: Active state of Sync-on-green signal property of the
20  endpoint.
21  0 = Normal Operation (Active Low, Default)
22  1 = Inverted operation
23
24- field-even-active: Active-high Field ID output polarity control of the bus.
25  Under normal operation, the field ID output is set to logic 1 for an odd field
26  (field 1) and set to logic 0 for an even field (field 0).
27  0 = Normal Operation (Active Low, Default)
28  1 = FID output polarity inverted
29
30For further reading of port node refer Documentation/devicetree/bindings/media/
31video-interfaces.txt.
32
33Example:
34
35	i2c0@1c22000 {
36		...
37		...
38		tvp7002@5c {
39			compatible = "ti,tvp7002";
40			reg = <0x5c>;
41
42			port {
43				tvp7002_1: endpoint {
44					hsync-active = <1>;
45					vsync-active = <1>;
46					pclk-sample = <0>;
47					sync-on-green-active = <1>;
48					field-even-active = <0>;
49				};
50			};
51		};
52		...
53	};
54