xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/tvp514x.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Texas Instruments TVP514x video decoder
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe TVP5146/TVP5146m2/TVP5147/TVP5147m1 device is high quality, single-chip
4*4882a593Smuzhiyundigital video decoder that digitizes and decodes all popular baseband analog
5*4882a593Smuzhiyunvideo formats into digital video component. The tvp514x decoder supports analog-
6*4882a593Smuzhiyunto-digital (A/D) conversion of component RGB and YPbPr signals as well as A/D
7*4882a593Smuzhiyunconversion and decoding of NTSC, PAL and SECAM composite and S-video into
8*4882a593Smuzhiyuncomponent YCbCr.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunRequired Properties :
11*4882a593Smuzhiyun- compatible : value should be either one among the following
12*4882a593Smuzhiyun	(a) "ti,tvp5146" for tvp5146 decoder.
13*4882a593Smuzhiyun	(b) "ti,tvp5146m2" for tvp5146m2 decoder.
14*4882a593Smuzhiyun	(c) "ti,tvp5147" for tvp5147 decoder.
15*4882a593Smuzhiyun	(d) "ti,tvp5147m1" for tvp5147m1 decoder.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun- hsync-active: HSYNC Polarity configuration for endpoint.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun- vsync-active: VSYNC Polarity configuration for endpoint.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun- pclk-sample: Clock polarity of the endpoint.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunFor further reading on port node refer to Documentation/devicetree/bindings/
24*4882a593Smuzhiyunmedia/video-interfaces.txt.
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunExample:
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	i2c0@1c22000 {
29*4882a593Smuzhiyun		...
30*4882a593Smuzhiyun		...
31*4882a593Smuzhiyun		tvp514x@5c {
32*4882a593Smuzhiyun			compatible = "ti,tvp5146";
33*4882a593Smuzhiyun			reg = <0x5c>;
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun			port {
36*4882a593Smuzhiyun				tvp514x_1: endpoint {
37*4882a593Smuzhiyun					hsync-active = <1>;
38*4882a593Smuzhiyun					vsync-active = <1>;
39*4882a593Smuzhiyun					pclk-sample = <0>;
40*4882a593Smuzhiyun				};
41*4882a593Smuzhiyun			};
42*4882a593Smuzhiyun		};
43*4882a593Smuzhiyun		...
44*4882a593Smuzhiyun	};
45