xref: /linux/Documentation/devicetree/bindings/display/bridge/lontium,lt9611.yaml (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
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    $ref: /schemas/graph.yaml#/properties/ports
42
43    properties:
44      port@0:
45        $ref: /schemas/graph.yaml#/properties/port
46        description:
47          Primary MIPI port-1 for MIPI input
48
49      port@1:
50        $ref: /schemas/graph.yaml#/properties/port
51        description:
52          Additional MIPI port-2 for MIPI input, used in combination
53          with primary MIPI port-1 to drive higher resolution displays
54
55      port@2:
56        $ref: /schemas/graph.yaml#/properties/port
57        description:
58          HDMI port for HDMI output
59
60    required:
61      - port@0
62      - port@2
63
64required:
65  - compatible
66  - reg
67  - interrupts
68  - vdd-supply
69  - vcc-supply
70  - ports
71
72additionalProperties: false
73
74examples:
75  - |
76    #include <dt-bindings/gpio/gpio.h>
77    #include <dt-bindings/interrupt-controller/irq.h>
78
79    i2c10 {
80      #address-cells = <1>;
81      #size-cells = <0>;
82
83      hdmi-bridge@3b {
84        compatible = "lontium,lt9611";
85        reg = <0x3b>;
86
87        reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
88        interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;
89
90        vdd-supply = <&lt9611_1v8>;
91        vcc-supply = <&lt9611_3v3>;
92
93        ports {
94          #address-cells = <1>;
95          #size-cells = <0>;
96
97          port@0 {
98            reg = <0>;
99            lt9611_a: endpoint {
100              remote-endpoint = <&dsi0_out>;
101            };
102          };
103
104          port@1 {
105            reg = <1>;
106            lt9611_b: endpoint {
107              remote-endpoint = <&dsi1_out>;
108            };
109          };
110
111          port@2 {
112            reg = <2>;
113            lt9611_out: endpoint {
114              remote-endpoint = <&hdmi_con>;
115            };
116          };
117        };
118      };
119    };
120
121...
122