xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/toshiba,tc358767.txt (revision 19fae0f66023a97a9b464b3beeeabb2081f575b3)
1Toshiba TC358767 eDP bridge bindings
2
3Required properties:
4 - compatible: "toshiba,tc358767"
5 - reg: i2c address of the bridge, 0x68 or 0x0f, depending on bootstrap pins
6 - clock-names: should be "ref"
7 - clocks: OF device-tree clock specification for refclk input. The reference
8   clock rate must be 13 MHz, 19.2 MHz, 26 MHz, or 38.4 MHz.
9
10Optional properties:
11 - shutdown-gpios: OF device-tree gpio specification for SD pin
12                   (active high shutdown input)
13 - reset-gpios: OF device-tree gpio specification for RSTX pin
14                (active low system reset)
15 - toshiba,hpd-pin: TC358767 GPIO pin number to which HPD is connected to (0 or 1)
16 - ports: the ports node can contain video interface port nodes to connect
17   to a DPI/DSI source and to an eDP/DP sink according to [1][2]:
18    - port@0: DSI input port
19    - port@1: DPI input port
20    - port@2: eDP/DP output port
21
22[1]: Documentation/devicetree/bindings/graph.txt
23[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
24
25Example:
26	edp-bridge@68 {
27		compatible = "toshiba,tc358767";
28		reg = <0x68>;
29		shutdown-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
30		reset-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
31		clock-names = "ref";
32		clocks = <&edp_refclk>;
33
34		ports {
35			#address-cells = <1>;
36			#size-cells = <0>;
37
38			port@1 {
39				reg = <1>;
40
41				bridge_in: endpoint {
42					remote-endpoint = <&dpi_out>;
43				};
44			};
45
46			port@2 {
47				reg = <2>;
48
49				bridge_out: endpoint {
50					remote-endpoint = <&panel_in>;
51				};
52			};
53		};
54	};
55