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