1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/bridge/waveshare,dsi2dpi.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Waveshare MIPI-DSI to DPI Converter bridge 8 9maintainers: 10 - Joseph Guo <qijian.guo@nxp.com> 11 12description: 13 Waveshare bridge board is part of Waveshare panel which converts DSI to DPI. 14 15properties: 16 compatible: 17 const: waveshare,dsi2dpi 18 19 reg: 20 maxItems: 1 21 description: base I2C address of the device 22 23 power-supply: true 24 25 ports: 26 $ref: /schemas/graph.yaml#/properties/ports 27 28 properties: 29 port@0: 30 $ref: /schemas/graph.yaml#/$defs/port-base 31 unevaluatedProperties: false 32 description: 33 Video port for MIPI DSI input 34 35 properties: 36 endpoint: 37 $ref: /schemas/media/video-interfaces.yaml# 38 unevaluatedProperties: false 39 40 properties: 41 data-lanes: 42 description: array of physical DSI data lane indexes. 43 items: 44 - const: 1 45 - const: 2 46 47 required: 48 - data-lanes 49 50 port@1: 51 $ref: /schemas/graph.yaml#/properties/port 52 description: 53 Video port for MIPI DPI output panel. 54 55 required: 56 - port@0 57 - port@1 58 59required: 60 - compatible 61 - reg 62 - ports 63 - power-supply 64 65additionalProperties: false 66 67examples: 68 - | 69 70 i2c { 71 #address-cells = <1>; 72 #size-cells = <0>; 73 74 bridge@45 { 75 compatible = "waveshare,dsi2dpi"; 76 reg = <0x45>; 77 power-supply = <®_3p3v>; 78 79 ports { 80 #address-cells = <1>; 81 #size-cells = <0>; 82 83 port@0 { 84 reg = <0>; 85 86 waveshare_from_dsim: endpoint { 87 data-lanes = <1 2>; 88 remote-endpoint = <&dsim_to_waveshare>; 89 }; 90 }; 91 92 port@1 { 93 reg = <1>; 94 95 waveshare_to_panel: endpoint { 96 remote-endpoint = <&panel_to_waveshare>; 97 }; 98 }; 99 }; 100 }; 101 }; 102 103... 104