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