1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/bri 4 $id: http://devicetree.org/schemas/display/bridge/lontium,lt9211.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Lontium LT9211 DSI/LVDS/DPI to DSI/LVDS 7 title: Lontium LT9211 DSI/LVDS/DPI to DSI/LVDS/DPI bridge. 8 8 9 maintainers: 9 maintainers: 10 - Marek Vasut <marex@denx.de> 10 - Marek Vasut <marex@denx.de> 11 11 12 description: | 12 description: | 13 The LT9211 are bridge devices which convert 13 The LT9211 are bridge devices which convert Single/Dual-Link DSI/LVDS 14 or Single DPI to Single/Dual-Link DSI/LVDS o 14 or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - lontium,lt9211 19 - lontium,lt9211 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 reset-gpios: 27 reset-gpios: 28 maxItems: 1 28 maxItems: 1 29 description: GPIO connected to active high 29 description: GPIO connected to active high RESET pin. 30 30 31 vccio-supply: 31 vccio-supply: 32 description: Regulator for 1.8V IO power. 32 description: Regulator for 1.8V IO power. 33 33 34 ports: 34 ports: 35 $ref: /schemas/graph.yaml#/properties/port 35 $ref: /schemas/graph.yaml#/properties/ports 36 36 37 properties: 37 properties: 38 port@0: 38 port@0: 39 $ref: /schemas/graph.yaml#/properties/ 39 $ref: /schemas/graph.yaml#/properties/port 40 description: 40 description: 41 Primary MIPI DSI port-1 for MIPI inp 41 Primary MIPI DSI port-1 for MIPI input or 42 LVDS port-1 for LVDS input or DPI in 42 LVDS port-1 for LVDS input or DPI input. 43 43 44 port@1: 44 port@1: 45 $ref: /schemas/graph.yaml#/properties/ 45 $ref: /schemas/graph.yaml#/properties/port 46 description: 46 description: 47 Additional MIPI port-2 for MIPI inpu 47 Additional MIPI port-2 for MIPI input or LVDS port-2 48 for LVDS input. Used in combination 48 for LVDS input. Used in combination with primary 49 port-1 to drive higher resolution di 49 port-1 to drive higher resolution displays 50 50 51 port@2: 51 port@2: 52 $ref: /schemas/graph.yaml#/properties/ 52 $ref: /schemas/graph.yaml#/properties/port 53 description: 53 description: 54 Primary MIPI DSI port-1 for MIPI out 54 Primary MIPI DSI port-1 for MIPI output or 55 LVDS port-1 for LVDS output or DPI o 55 LVDS port-1 for LVDS output or DPI output. 56 56 57 port@3: 57 port@3: 58 $ref: /schemas/graph.yaml#/properties/ 58 $ref: /schemas/graph.yaml#/properties/port 59 description: 59 description: 60 Additional MIPI port-2 for MIPI outp 60 Additional MIPI port-2 for MIPI output or LVDS port-2 61 for LVDS output. Used in combination 61 for LVDS output. Used in combination with primary 62 port-1 to drive higher resolution di 62 port-1 to drive higher resolution displays. 63 63 64 required: 64 required: 65 - port@0 65 - port@0 66 - port@2 66 - port@2 67 67 68 required: 68 required: 69 - compatible 69 - compatible 70 - reg 70 - reg 71 - vccio-supply 71 - vccio-supply 72 - ports 72 - ports 73 73 74 additionalProperties: false 74 additionalProperties: false 75 75 76 examples: 76 examples: 77 - | 77 - | 78 #include <dt-bindings/gpio/gpio.h> 78 #include <dt-bindings/gpio/gpio.h> 79 #include <dt-bindings/interrupt-controller 79 #include <dt-bindings/interrupt-controller/irq.h> 80 80 81 i2c { 81 i2c { 82 #address-cells = <1>; 82 #address-cells = <1>; 83 #size-cells = <0>; 83 #size-cells = <0>; 84 84 85 hdmi-bridge@3b { 85 hdmi-bridge@3b { 86 compatible = "lontium,lt9211"; 86 compatible = "lontium,lt9211"; 87 reg = <0x3b>; 87 reg = <0x3b>; 88 88 89 reset-gpios = <&tlmm 128 GPIO_ACTIVE_H 89 reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>; 90 interrupts-extended = <&tlmm 84 IRQ_TY 90 interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>; 91 91 92 vccio-supply = <<9211_1v8>; 92 vccio-supply = <<9211_1v8>; 93 93 94 ports { 94 ports { 95 #address-cells = <1>; 95 #address-cells = <1>; 96 #size-cells = <0>; 96 #size-cells = <0>; 97 97 98 port@0 { 98 port@0 { 99 reg = <0>; 99 reg = <0>; 100 100 101 endpoint { 101 endpoint { 102 remote-endpoint = <&dsi0_out>; 102 remote-endpoint = <&dsi0_out>; 103 }; 103 }; 104 }; 104 }; 105 105 106 port@2 { 106 port@2 { 107 reg = <2>; 107 reg = <2>; 108 108 109 endpoint { 109 endpoint { 110 remote-endpoint = <&panel_in_lvd 110 remote-endpoint = <&panel_in_lvds>; 111 }; 111 }; 112 }; 112 }; 113 }; 113 }; 114 }; 114 }; 115 }; 115 }; 116 116 117 ... 117 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.