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/lontium,lt9611.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Lontium LT9611(UXC) 2 Port MIPI to HDMI Bridge 8 9maintainers: 10 - Vinod Koul <vkoul@kernel.org> 11 12description: | 13 The LT9611 and LT9611UXC are bridge devices which convert DSI to HDMI 14 15properties: 16 compatible: 17 enum: 18 - lontium,lt9611 19 - lontium,lt9611uxc 20 21 reg: 22 maxItems: 1 23 24 "#sound-dai-cells": 25 const: 1 26 27 interrupts: 28 maxItems: 1 29 30 reset-gpios: 31 maxItems: 1 32 description: GPIO connected to active high RESET pin. 33 34 vdd-supply: 35 description: Regulator for 1.8V MIPI phy power. 36 37 vcc-supply: 38 description: Regulator for 3.3V IO power. 39 40 ports: 41 type: object 42 43 properties: 44 "#address-cells": 45 const: 1 46 47 "#size-cells": 48 const: 0 49 50 port@0: 51 type: object 52 description: | 53 Primary MIPI port-1 for MIPI input 54 55 properties: 56 reg: 57 const: 0 58 59 patternProperties: 60 "^endpoint(@[0-9])$": 61 type: object 62 additionalProperties: false 63 64 properties: 65 remote-endpoint: 66 $ref: /schemas/types.yaml#/definitions/phandle 67 68 required: 69 - reg 70 71 port@1: 72 type: object 73 description: | 74 Additional MIPI port-2 for MIPI input, used in combination 75 with primary MIPI port-1 to drive higher resolution displays 76 77 properties: 78 reg: 79 const: 1 80 81 patternProperties: 82 "^endpoint(@[0-9])$": 83 type: object 84 additionalProperties: false 85 86 properties: 87 remote-endpoint: 88 $ref: /schemas/types.yaml#/definitions/phandle 89 90 required: 91 - reg 92 93 port@2: 94 type: object 95 description: | 96 HDMI port for HDMI output 97 98 properties: 99 reg: 100 const: 2 101 102 patternProperties: 103 "^endpoint(@[0-9])$": 104 type: object 105 additionalProperties: false 106 107 properties: 108 remote-endpoint: 109 $ref: /schemas/types.yaml#/definitions/phandle 110 111 required: 112 - reg 113 114 required: 115 - "#address-cells" 116 - "#size-cells" 117 - port@0 118 - port@2 119 120required: 121 - compatible 122 - reg 123 - interrupts 124 - vdd-supply 125 - vcc-supply 126 - ports 127 128additionalProperties: false 129 130examples: 131 - | 132 #include <dt-bindings/gpio/gpio.h> 133 #include <dt-bindings/interrupt-controller/irq.h> 134 135 i2c10 { 136 #address-cells = <1>; 137 #size-cells = <0>; 138 139 hdmi-bridge@3b { 140 compatible = "lontium,lt9611"; 141 reg = <0x3b>; 142 143 reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>; 144 interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>; 145 146 vdd-supply = <<9611_1v8>; 147 vcc-supply = <<9611_3v3>; 148 149 ports { 150 #address-cells = <1>; 151 #size-cells = <0>; 152 153 port@0 { 154 reg = <0>; 155 lt9611_a: endpoint { 156 remote-endpoint = <&dsi0_out>; 157 }; 158 }; 159 160 port@1 { 161 reg = <1>; 162 lt9611_b: endpoint { 163 remote-endpoint = <&dsi1_out>; 164 }; 165 }; 166 167 port@2 { 168 reg = <2>; 169 lt9611_out: endpoint { 170 remote-endpoint = <&hdmi_con>; 171 }; 172 }; 173 }; 174 }; 175 }; 176 177... 178