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