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