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