Merge tag 'Smack-for-5.11-io_uring-fix' of git://github.com/cschaufler/smack-next
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / bridge / analogix,anx7625.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 Analogix Semiconductor, Inc.
3 %YAML 1.2
4 ---
5 $id: "http://devicetree.org/schemas/display/bridge/analogix,anx7625.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8 title: Analogix ANX7625 SlimPort (4K Mobile HD Transmitter)
9
10 maintainers:
11   - Xin Ji <xji@analogixsemi.com>
12
13 description: |
14   The ANX7625 is an ultra-low power 4K Mobile HD Transmitter
15   designed for portable devices.
16
17 properties:
18   compatible:
19     items:
20       - const: analogix,anx7625
21
22   reg:
23     maxItems: 1
24
25   interrupts:
26     description: used for interrupt pin B8.
27     maxItems: 1
28
29   enable-gpios:
30     description: used for power on chip control, POWER_EN pin D2.
31     maxItems: 1
32
33   reset-gpios:
34     description: used for reset chip control, RESET_N pin B7.
35     maxItems: 1
36
37   ports:
38     type: object
39
40     properties:
41       port@0:
42         type: object
43         description:
44           Video port for MIPI DSI input.
45
46       port@1:
47         type: object
48         description:
49           Video port for panel or connector.
50
51     required:
52       - port@0
53       - port@1
54
55 required:
56   - compatible
57   - reg
58   - ports
59
60 additionalProperties: false
61
62 examples:
63   - |
64     #include <dt-bindings/gpio/gpio.h>
65
66     i2c0 {
67         #address-cells = <1>;
68         #size-cells = <0>;
69
70         encoder@58 {
71             compatible = "analogix,anx7625";
72             reg = <0x58>;
73             enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
74             reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
75
76             ports {
77                 #address-cells = <1>;
78                 #size-cells = <0>;
79
80                 mipi2dp_bridge_in: port@0 {
81                     reg = <0>;
82                     anx7625_in: endpoint {
83                         remote-endpoint = <&mipi_dsi>;
84                     };
85                 };
86
87                 mipi2dp_bridge_out: port@1 {
88                     reg = <1>;
89                     anx7625_out: endpoint {
90                         remote-endpoint = <&panel_in>;
91                     };
92                 };
93             };
94         };
95     };