1*c66ec88fSEmmanuel VadotSN65DSI86 DSI to eDP bridge chip 2*c66ec88fSEmmanuel Vadot-------------------------------- 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotThis is the binding for Texas Instruments SN65DSI86 bridge. 5*c66ec88fSEmmanuel Vadothttp://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=sn65dsi86&fileType=pdf 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel VadotRequired properties: 8*c66ec88fSEmmanuel Vadot- compatible: Must be "ti,sn65dsi86" 9*c66ec88fSEmmanuel Vadot- reg: i2c address of the chip, 0x2d as per datasheet 10*c66ec88fSEmmanuel Vadot- enable-gpios: gpio specification for bridge_en pin (active high) 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadot- vccio-supply: A 1.8V supply that powers up the digital IOs. 13*c66ec88fSEmmanuel Vadot- vpll-supply: A 1.8V supply that powers up the displayport PLL. 14*c66ec88fSEmmanuel Vadot- vcca-supply: A 1.2V supply that powers up the analog circuits. 15*c66ec88fSEmmanuel Vadot- vcc-supply: A 1.2V supply that powers up the digital core. 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel VadotOptional properties: 18*c66ec88fSEmmanuel Vadot- interrupts-extended: Specifier for the SN65DSI86 interrupt line. 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot- gpio-controller: Marks the device has a GPIO controller. 21*c66ec88fSEmmanuel Vadot- #gpio-cells : Should be two. The first cell is the pin number and 22*c66ec88fSEmmanuel Vadot the second cell is used to specify flags. 23*c66ec88fSEmmanuel Vadot See ../../gpio/gpio.txt for more information. 24*c66ec88fSEmmanuel Vadot- #pwm-cells : Should be one. See ../../pwm/pwm.yaml for description of 25*c66ec88fSEmmanuel Vadot the cell formats. 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot- clock-names: should be "refclk" 28*c66ec88fSEmmanuel Vadot- clocks: Specification for input reference clock. The reference 29*c66ec88fSEmmanuel Vadot clock rate must be 12 MHz, 19.2 MHz, 26 MHz, 27 MHz or 38.4 MHz. 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot- data-lanes: See ../../media/video-interface.txt 32*c66ec88fSEmmanuel Vadot- lane-polarities: See ../../media/video-interface.txt 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel Vadot- suspend-gpios: specification for GPIO1 pin on bridge (active low) 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel VadotRequired nodes: 37*c66ec88fSEmmanuel VadotThis device has two video ports. Their connections are modelled using the 38*c66ec88fSEmmanuel VadotOF graph bindings specified in Documentation/devicetree/bindings/graph.txt. 39*c66ec88fSEmmanuel Vadot 40*c66ec88fSEmmanuel Vadot- Video port 0 for DSI input 41*c66ec88fSEmmanuel Vadot- Video port 1 for eDP output 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel VadotExample 44*c66ec88fSEmmanuel Vadot------- 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadotedp-bridge@2d { 47*c66ec88fSEmmanuel Vadot compatible = "ti,sn65dsi86"; 48*c66ec88fSEmmanuel Vadot #address-cells = <1>; 49*c66ec88fSEmmanuel Vadot #size-cells = <0>; 50*c66ec88fSEmmanuel Vadot reg = <0x2d>; 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadot enable-gpios = <&msmgpio 33 GPIO_ACTIVE_HIGH>; 53*c66ec88fSEmmanuel Vadot suspend-gpios = <&msmgpio 34 GPIO_ACTIVE_LOW>; 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadot interrupts-extended = <&gpio3 4 IRQ_TYPE_EDGE_FALLING>; 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadot vccio-supply = <&pm8916_l17>; 58*c66ec88fSEmmanuel Vadot vcca-supply = <&pm8916_l6>; 59*c66ec88fSEmmanuel Vadot vpll-supply = <&pm8916_l17>; 60*c66ec88fSEmmanuel Vadot vcc-supply = <&pm8916_l6>; 61*c66ec88fSEmmanuel Vadot 62*c66ec88fSEmmanuel Vadot clock-names = "refclk"; 63*c66ec88fSEmmanuel Vadot clocks = <&input_refclk>; 64*c66ec88fSEmmanuel Vadot 65*c66ec88fSEmmanuel Vadot ports { 66*c66ec88fSEmmanuel Vadot #address-cells = <1>; 67*c66ec88fSEmmanuel Vadot #size-cells = <0>; 68*c66ec88fSEmmanuel Vadot 69*c66ec88fSEmmanuel Vadot port@0 { 70*c66ec88fSEmmanuel Vadot reg = <0>; 71*c66ec88fSEmmanuel Vadot 72*c66ec88fSEmmanuel Vadot edp_bridge_in: endpoint { 73*c66ec88fSEmmanuel Vadot remote-endpoint = <&dsi_out>; 74*c66ec88fSEmmanuel Vadot }; 75*c66ec88fSEmmanuel Vadot }; 76*c66ec88fSEmmanuel Vadot 77*c66ec88fSEmmanuel Vadot port@1 { 78*c66ec88fSEmmanuel Vadot reg = <1>; 79*c66ec88fSEmmanuel Vadot 80*c66ec88fSEmmanuel Vadot edp_bridge_out: endpoint { 81*c66ec88fSEmmanuel Vadot data-lanes = <2 1 3 0>; 82*c66ec88fSEmmanuel Vadot lane-polarities = <0 1 0 1>; 83*c66ec88fSEmmanuel Vadot remote-endpoint = <&edp_panel_in>; 84*c66ec88fSEmmanuel Vadot }; 85*c66ec88fSEmmanuel Vadot }; 86*c66ec88fSEmmanuel Vadot }; 87*c66ec88fSEmmanuel Vadot} 88