118 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/bridge/lontium,lt9211.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Lontium LT9211 DSI/LVDS/DPI to DSI/LVDS/DPI bridge.8 9maintainers:10 - Marek Vasut <marex@denx.de>11 12description: |13 The LT9211 are bridge devices which convert Single/Dual-Link DSI/LVDS14 or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI.15 16properties:17 compatible:18 enum:19 - lontium,lt921120 21 reg:22 maxItems: 123 24 interrupts:25 maxItems: 126 27 reset-gpios:28 maxItems: 129 description: GPIO connected to active high RESET pin.30 31 vccio-supply:32 description: Regulator for 1.8V IO power.33 34 ports:35 $ref: /schemas/graph.yaml#/properties/ports36 37 properties:38 port@0:39 $ref: /schemas/graph.yaml#/properties/port40 description:41 Primary MIPI DSI port-1 for MIPI input or42 LVDS port-1 for LVDS input or DPI input.43 44 port@1:45 $ref: /schemas/graph.yaml#/properties/port46 description:47 Additional MIPI port-2 for MIPI input or LVDS port-248 for LVDS input. Used in combination with primary49 port-1 to drive higher resolution displays50 51 port@2:52 $ref: /schemas/graph.yaml#/properties/port53 description:54 Primary MIPI DSI port-1 for MIPI output or55 LVDS port-1 for LVDS output or DPI output.56 57 port@3:58 $ref: /schemas/graph.yaml#/properties/port59 description:60 Additional MIPI port-2 for MIPI output or LVDS port-261 for LVDS output. Used in combination with primary62 port-1 to drive higher resolution displays.63 64 required:65 - port@066 - port@267 68required:69 - compatible70 - reg71 - vccio-supply72 - ports73 74additionalProperties: false75 76examples:77 - |78 #include <dt-bindings/gpio/gpio.h>79 #include <dt-bindings/interrupt-controller/irq.h>80 81 i2c {82 #address-cells = <1>;83 #size-cells = <0>;84 85 hdmi-bridge@3b {86 compatible = "lontium,lt9211";87 reg = <0x3b>;88 89 reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;90 interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;91 92 vccio-supply = <<9211_1v8>;93 94 ports {95 #address-cells = <1>;96 #size-cells = <0>;97 98 port@0 {99 reg = <0>;100 101 endpoint {102 remote-endpoint = <&dsi0_out>;103 };104 };105 106 port@2 {107 reg = <2>;108 109 endpoint {110 remote-endpoint = <&panel_in_lvds>;111 };112 };113 };114 };115 };116 117...118