1*db2aad0fSMarek Vasut# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*db2aad0fSMarek Vasut%YAML 1.2 3*db2aad0fSMarek Vasut--- 4*db2aad0fSMarek Vasut$id: http://devicetree.org/schemas/display/bridge/ti,sn65dsi83.yaml# 5*db2aad0fSMarek Vasut$schema: http://devicetree.org/meta-schemas/core.yaml# 6*db2aad0fSMarek Vasut 7*db2aad0fSMarek Vasuttitle: SN65DSI83 and SN65DSI84 DSI to LVDS bridge chip 8*db2aad0fSMarek Vasut 9*db2aad0fSMarek Vasutmaintainers: 10*db2aad0fSMarek Vasut - Marek Vasut <marex@denx.de> 11*db2aad0fSMarek Vasut 12*db2aad0fSMarek Vasutdescription: | 13*db2aad0fSMarek Vasut Texas Instruments SN65DSI83 1x Single-link MIPI DSI 14*db2aad0fSMarek Vasut to 1x Single-link LVDS 15*db2aad0fSMarek Vasut https://www.ti.com/lit/gpn/sn65dsi83 16*db2aad0fSMarek Vasut Texas Instruments SN65DSI84 1x Single-link MIPI DSI 17*db2aad0fSMarek Vasut to 1x Dual-link or 2x Single-link LVDS 18*db2aad0fSMarek Vasut https://www.ti.com/lit/gpn/sn65dsi84 19*db2aad0fSMarek Vasut 20*db2aad0fSMarek Vasutproperties: 21*db2aad0fSMarek Vasut compatible: 22*db2aad0fSMarek Vasut enum: 23*db2aad0fSMarek Vasut - ti,sn65dsi83 24*db2aad0fSMarek Vasut - ti,sn65dsi84 25*db2aad0fSMarek Vasut 26*db2aad0fSMarek Vasut reg: 27*db2aad0fSMarek Vasut enum: 28*db2aad0fSMarek Vasut - 0x2c 29*db2aad0fSMarek Vasut - 0x2d 30*db2aad0fSMarek Vasut 31*db2aad0fSMarek Vasut enable-gpios: 32*db2aad0fSMarek Vasut maxItems: 1 33*db2aad0fSMarek Vasut description: GPIO specifier for bridge_en pin (active high). 34*db2aad0fSMarek Vasut 35*db2aad0fSMarek Vasut ports: 36*db2aad0fSMarek Vasut $ref: /schemas/graph.yaml#/properties/ports 37*db2aad0fSMarek Vasut 38*db2aad0fSMarek Vasut properties: 39*db2aad0fSMarek Vasut port@0: 40*db2aad0fSMarek Vasut $ref: /schemas/graph.yaml#/properties/port 41*db2aad0fSMarek Vasut description: Video port for MIPI DSI Channel-A input 42*db2aad0fSMarek Vasut 43*db2aad0fSMarek Vasut properties: 44*db2aad0fSMarek Vasut endpoint: 45*db2aad0fSMarek Vasut $ref: /schemas/media/video-interfaces.yaml# 46*db2aad0fSMarek Vasut unevaluatedProperties: false 47*db2aad0fSMarek Vasut 48*db2aad0fSMarek Vasut properties: 49*db2aad0fSMarek Vasut data-lanes: 50*db2aad0fSMarek Vasut description: array of physical DSI data lane indexes. 51*db2aad0fSMarek Vasut minItems: 1 52*db2aad0fSMarek Vasut maxItems: 4 53*db2aad0fSMarek Vasut items: 54*db2aad0fSMarek Vasut - const: 1 55*db2aad0fSMarek Vasut - const: 2 56*db2aad0fSMarek Vasut - const: 3 57*db2aad0fSMarek Vasut - const: 4 58*db2aad0fSMarek Vasut 59*db2aad0fSMarek Vasut port@1: 60*db2aad0fSMarek Vasut $ref: /schemas/graph.yaml#/properties/port 61*db2aad0fSMarek Vasut description: Video port for MIPI DSI Channel-B input 62*db2aad0fSMarek Vasut 63*db2aad0fSMarek Vasut properties: 64*db2aad0fSMarek Vasut endpoint: 65*db2aad0fSMarek Vasut $ref: /schemas/media/video-interfaces.yaml# 66*db2aad0fSMarek Vasut unevaluatedProperties: false 67*db2aad0fSMarek Vasut 68*db2aad0fSMarek Vasut properties: 69*db2aad0fSMarek Vasut data-lanes: 70*db2aad0fSMarek Vasut description: array of physical DSI data lane indexes. 71*db2aad0fSMarek Vasut minItems: 1 72*db2aad0fSMarek Vasut maxItems: 4 73*db2aad0fSMarek Vasut items: 74*db2aad0fSMarek Vasut - const: 1 75*db2aad0fSMarek Vasut - const: 2 76*db2aad0fSMarek Vasut - const: 3 77*db2aad0fSMarek Vasut - const: 4 78*db2aad0fSMarek Vasut 79*db2aad0fSMarek Vasut port@2: 80*db2aad0fSMarek Vasut $ref: /schemas/graph.yaml#/properties/port 81*db2aad0fSMarek Vasut description: Video port for LVDS Channel-A output (panel or bridge). 82*db2aad0fSMarek Vasut 83*db2aad0fSMarek Vasut port@3: 84*db2aad0fSMarek Vasut $ref: /schemas/graph.yaml#/properties/port 85*db2aad0fSMarek Vasut description: Video port for LVDS Channel-B output (panel or bridge). 86*db2aad0fSMarek Vasut 87*db2aad0fSMarek Vasut required: 88*db2aad0fSMarek Vasut - port@0 89*db2aad0fSMarek Vasut - port@2 90*db2aad0fSMarek Vasut 91*db2aad0fSMarek Vasutrequired: 92*db2aad0fSMarek Vasut - compatible 93*db2aad0fSMarek Vasut - reg 94*db2aad0fSMarek Vasut - enable-gpios 95*db2aad0fSMarek Vasut - ports 96*db2aad0fSMarek Vasut 97*db2aad0fSMarek VasutallOf: 98*db2aad0fSMarek Vasut - if: 99*db2aad0fSMarek Vasut properties: 100*db2aad0fSMarek Vasut compatible: 101*db2aad0fSMarek Vasut contains: 102*db2aad0fSMarek Vasut const: ti,sn65dsi83 103*db2aad0fSMarek Vasut then: 104*db2aad0fSMarek Vasut properties: 105*db2aad0fSMarek Vasut ports: 106*db2aad0fSMarek Vasut properties: 107*db2aad0fSMarek Vasut port@1: false 108*db2aad0fSMarek Vasut port@3: false 109*db2aad0fSMarek Vasut 110*db2aad0fSMarek Vasut - if: 111*db2aad0fSMarek Vasut properties: 112*db2aad0fSMarek Vasut compatible: 113*db2aad0fSMarek Vasut contains: 114*db2aad0fSMarek Vasut const: ti,sn65dsi84 115*db2aad0fSMarek Vasut then: 116*db2aad0fSMarek Vasut properties: 117*db2aad0fSMarek Vasut ports: 118*db2aad0fSMarek Vasut properties: 119*db2aad0fSMarek Vasut port@1: false 120*db2aad0fSMarek Vasut 121*db2aad0fSMarek VasutadditionalProperties: false 122*db2aad0fSMarek Vasut 123*db2aad0fSMarek Vasutexamples: 124*db2aad0fSMarek Vasut - | 125*db2aad0fSMarek Vasut #include <dt-bindings/gpio/gpio.h> 126*db2aad0fSMarek Vasut 127*db2aad0fSMarek Vasut i2c { 128*db2aad0fSMarek Vasut #address-cells = <1>; 129*db2aad0fSMarek Vasut #size-cells = <0>; 130*db2aad0fSMarek Vasut 131*db2aad0fSMarek Vasut bridge@2d { 132*db2aad0fSMarek Vasut compatible = "ti,sn65dsi83"; 133*db2aad0fSMarek Vasut reg = <0x2d>; 134*db2aad0fSMarek Vasut 135*db2aad0fSMarek Vasut enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; 136*db2aad0fSMarek Vasut 137*db2aad0fSMarek Vasut ports { 138*db2aad0fSMarek Vasut #address-cells = <1>; 139*db2aad0fSMarek Vasut #size-cells = <0>; 140*db2aad0fSMarek Vasut 141*db2aad0fSMarek Vasut port@0 { 142*db2aad0fSMarek Vasut reg = <0>; 143*db2aad0fSMarek Vasut 144*db2aad0fSMarek Vasut endpoint { 145*db2aad0fSMarek Vasut remote-endpoint = <&dsi0_out>; 146*db2aad0fSMarek Vasut data-lanes = <1 2 3 4>; 147*db2aad0fSMarek Vasut }; 148*db2aad0fSMarek Vasut }; 149*db2aad0fSMarek Vasut 150*db2aad0fSMarek Vasut port@2 { 151*db2aad0fSMarek Vasut reg = <2>; 152*db2aad0fSMarek Vasut 153*db2aad0fSMarek Vasut endpoint { 154*db2aad0fSMarek Vasut remote-endpoint = <&panel_in_lvds>; 155*db2aad0fSMarek Vasut }; 156*db2aad0fSMarek Vasut }; 157*db2aad0fSMarek Vasut }; 158*db2aad0fSMarek Vasut }; 159*db2aad0fSMarek Vasut }; 160