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