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