Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / bridge / lontium,lt9611.yaml
blob7a1c89b995e215bb095451ab5daaf54fa4825a36
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#
7 title: Lontium LT9611(UXC) 2 Port MIPI to HDMI Bridge
9 maintainers:
10   - Vinod Koul <vkoul@kernel.org>
12 description: |
13   The LT9611 and LT9611UXC are bridge devices which convert DSI to HDMI
15 properties:
16   compatible:
17     enum:
18       - lontium,lt9611
19       - lontium,lt9611uxc
21   reg:
22     maxItems: 1
24   "#sound-dai-cells":
25     const: 1
27   interrupts:
28     maxItems: 1
30   reset-gpios:
31     maxItems: 1
32     description: GPIO connected to active high RESET pin.
34   vdd-supply:
35     description: Regulator for 1.8V MIPI phy power.
37   vcc-supply:
38     description: Regulator for 3.3V IO power.
40   ports:
41     type: object
43     properties:
44       "#address-cells":
45         const: 1
47       "#size-cells":
48         const: 0
50       port@0:
51         type: object
52         description: |
53           Primary MIPI port-1 for MIPI input
55         properties:
56           reg:
57             const: 0
59         patternProperties:
60           "^endpoint(@[0-9])$":
61             type: object
62             additionalProperties: false
64             properties:
65               remote-endpoint:
66                 $ref: /schemas/types.yaml#/definitions/phandle
68         required:
69           - reg
71       port@1:
72         type: object
73         description: |
74           Additional MIPI port-2 for MIPI input, used in combination
75           with primary MIPI port-1 to drive higher resolution displays
77         properties:
78           reg:
79             const: 1
81         patternProperties:
82           "^endpoint(@[0-9])$":
83             type: object
84             additionalProperties: false
86             properties:
87               remote-endpoint:
88                 $ref: /schemas/types.yaml#/definitions/phandle
90         required:
91           - reg
93       port@2:
94         type: object
95         description: |
96           HDMI port for HDMI output
98         properties:
99           reg:
100             const: 2
102         patternProperties:
103           "^endpoint(@[0-9])$":
104             type: object
105             additionalProperties: false
107             properties:
108               remote-endpoint:
109                 $ref: /schemas/types.yaml#/definitions/phandle
111         required:
112           - reg
114     required:
115       - "#address-cells"
116       - "#size-cells"
117       - port@0
118       - port@2
120 required:
121   - compatible
122   - reg
123   - interrupts
124   - vdd-supply
125   - vcc-supply
126   - ports
128 additionalProperties: false
130 examples:
131   - |
132     #include <dt-bindings/gpio/gpio.h>
133     #include <dt-bindings/interrupt-controller/irq.h>
135     i2c10 {
136       #address-cells = <1>;
137       #size-cells = <0>;
139       hdmi-bridge@3b {
140         compatible = "lontium,lt9611";
141         reg = <0x3b>;
143         reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
144         interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;
146         vdd-supply = <&lt9611_1v8>;
147         vcc-supply = <&lt9611_3v3>;
149         ports {
150           #address-cells = <1>;
151           #size-cells = <0>;
153           port@0 {
154             reg = <0>;
155             lt9611_a: endpoint {
156               remote-endpoint = <&dsi0_out>;
157             };
158           };
160           port@1 {
161             reg = <1>;
162             lt9611_b: endpoint {
163               remote-endpoint = <&dsi1_out>;
164             };
165           };
167           port@2 {
168             reg = <2>;
169             lt9611_out: endpoint {
170               remote-endpoint = <&hdmi_con>;
171             };
172           };
173         };
174       };
175     };