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,lt8912b.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Lontium LT8912B MIPI to HDMI Bridge 8 9maintainers: 10 - Adrien Grassein <adrien.grassein@gmail.com> 11 12description: | 13 The LT8912B is a bridge device which convert DSI to HDMI 14 15properties: 16 compatible: 17 enum: 18 - lontium,lt8912b 19 20 reg: 21 maxItems: 1 22 23 reset-gpios: 24 maxItems: 1 25 description: GPIO connected to active high RESET pin. 26 27 ports: 28 $ref: /schemas/graph.yaml#/properties/ports 29 30 properties: 31 port@0: 32 $ref: /schemas/graph.yaml#/properties/port 33 description: 34 Primary MIPI port for MIPI input 35 36 properties: 37 endpoint: 38 $ref: /schemas/media/video-interfaces.yaml# 39 unevaluatedProperties: false 40 41 properties: 42 data-lanes: true 43 44 required: 45 - data-lanes 46 47 port@1: 48 $ref: /schemas/graph.yaml#/properties/port 49 description: | 50 HDMI port, should be connected to a node compatible with the 51 hdmi-connector binding. 52 53 required: 54 - port@0 55 - port@1 56 57required: 58 - compatible 59 - reg 60 - reset-gpios 61 - ports 62 63additionalProperties: false 64 65examples: 66 - | 67 #include <dt-bindings/gpio/gpio.h> 68 69 i2c4 { 70 #address-cells = <1>; 71 #size-cells = <0>; 72 73 hdmi-bridge@48 { 74 compatible = "lontium,lt8912b"; 75 reg = <0x48>; 76 reset-gpios = <&max7323 0 GPIO_ACTIVE_LOW>; 77 78 ports { 79 #address-cells = <1>; 80 #size-cells = <0>; 81 82 port@0 { 83 reg = <0>; 84 85 hdmi_out_in: endpoint { 86 data-lanes = <0 1 2 3>; 87 remote-endpoint = <&mipi_dsi_out>; 88 }; 89 }; 90 91 port@1 { 92 reg = <1>; 93 94 endpoint { 95 remote-endpoint = <&hdmi_in>; 96 }; 97 }; 98 }; 99 }; 100 }; 101 102... 103