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