Merge branch 'pm-sleep'
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / display / bridge / toshiba,tc358767.txt
1 Toshiba TC358767 eDP bridge bindings
2
3 Required 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
10 Optional 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  - ports: the ports node can contain video interface port nodes to connect
16    to a DPI/DSI source and to an eDP/DP sink according to [1][2]:
17     - port@0: DSI input port
18     - port@1: DPI input port
19     - port@2: eDP/DP output port
20
21 [1]: Documentation/devicetree/bindings/graph.txt
22 [2]: Documentation/devicetree/bindings/media/video-interfaces.txt
23
24 Example:
25         edp-bridge@68 {
26                 compatible = "toshiba,tc358767";
27                 reg = <0x68>;
28                 shutdown-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
29                 reset-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
30                 clock-names = "ref";
31                 clocks = <&edp_refclk>;
32
33                 ports {
34                         #address-cells = <1>;
35                         #size-cells = <0>;
36
37                         port@1 {
38                                 reg = <1>;
39
40                                 bridge_in: endpoint {
41                                         remote-endpoint = <&dpi_out>;
42                                 };
43                         };
44
45                         port@2 {
46                                 reg = <2>;
47
48                                 bridge_out: endpoint {
49                                         remote-endpoint = <&panel_in>;
50                                 };
51                         };
52                 };
53         };