xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/ti,tfp410.txt (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1TFP410 DPI to DVI encoder
2=========================
3
4Required properties:
5- compatible: "ti,tfp410"
6
7Optional properties:
8- powerdown-gpios: power-down gpio
9- reg: I2C address. If and only if present the device node should be placed
10  into the I2C controller node where the TFP410 I2C is connected to.
11- ti,deskew: data de-skew in 350ps increments, from -4 to +3, as configured
12  through th DK[3:1] pins. This property shall be present only if the TFP410
13  is not connected through I2C.
14
15Required nodes:
16
17This device has two video ports. Their connections are modeled using the OF
18graph bindings specified in [1]. Each port node shall have a single endpoint.
19
20- Port 0 is the DPI input port. Its endpoint subnode shall contain a
21  pclk-sample and bus-width property and a remote-endpoint property as specified
22  in [1].
23  - If pclk-sample is not defined, pclk-sample = 0 should be assumed for
24    backward compatibility.
25  - If bus-width is not defined then bus-width = 24 should be assumed for
26    backward compatibility.
27    bus-width = 24: 24 data lines are connected and single-edge mode
28    bus-width = 12: 12 data lines are connected and dual-edge mode
29
30- Port 1 is the DVI output port. Its endpoint subnode shall contain a
31  remote-endpoint property is specified in [1].
32
33[1] Documentation/devicetree/bindings/media/video-interfaces.txt
34
35
36Example
37-------
38
39tfp410: encoder@0 {
40	compatible = "ti,tfp410";
41	powerdown-gpios = <&twl_gpio 2 GPIO_ACTIVE_LOW>;
42	ti,deskew = <4>;
43
44	ports {
45		#address-cells = <1>;
46		#size-cells = <0>;
47
48		port@0 {
49			reg = <0>;
50
51			tfp410_in: endpoint@0 {
52				pclk-sample = <1>;
53				bus-width = <24>;
54				remote-endpoint = <&dpi_out>;
55			};
56		};
57
58		port@1 {
59			reg = <1>;
60
61			tfp410_out: endpoint@0 {
62				remote-endpoint = <&dvi_connector_in>;
63			};
64		};
65	};
66};
67