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