WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / bridge / analogix,anx7814.yaml
blob3ba477aefdd79466869fade87d51b70f61568e12
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/analogix,anx7814.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analogix ANX7814 SlimPort (Full-HD Transmitter)
9 maintainers:
10   - Enric Balletbo i Serra <enric.balletbo@collabora.com>
12 properties:
13   compatible:
14     enum:
15       - analogix,anx7808
16       - analogix,anx7812
17       - analogix,anx7814
18       - analogix,anx7818
20   reg:
21     maxItems: 1
22     description: I2C address of the device.
24   interrupts:
25     maxItems: 1
26     description: Should contain the INTP interrupt.
28   hpd-gpios:
29     deprecated: true
30     maxItems: 1
31     description: Which GPIO to use for hpd.
33   pd-gpios:
34     maxItems: 1
35     description: Which GPIO to use for power down.
37   reset-gpios:
38     maxItems: 1
39     description: Which GPIO to use for reset.
41   dvdd10-supply:
42     description: Regulator for 1.0V digital core power.
44   ports:
45     type: object
46     description:
47       A node containing input and output port nodes with endpoint
48       definitions as documented in
49       Documentation/devicetree/bindings/media/video-interfaces.txt
50       Documentation/devicetree/bindings/graph.txt
52     properties:
53       port@0:
54         type: object
55         description: Video port for HDMI input.
57         properties:
58           reg:
59             const: 0
61       port@1:
62         type: object
63         description:
64           Video port for SlimPort, DisplayPort, eDP or MyDP output.
66         properties:
67           reg:
68             const: 1
70     required:
71       - port@0
72       - port@1
74 required:
75   - compatible
76   - reg
77   - ports
79 additionalProperties: false
81 examples:
82   - |
83     #include <dt-bindings/interrupt-controller/arm-gic.h>
84     #include <dt-bindings/gpio/gpio.h>
86     i2c {
87         #address-cells = <1>;
88         #size-cells = <0>;
90         anx7814: bridge@38 {
91             compatible = "analogix,anx7814";
92             reg = <0x38>;
93             interrupt-parent = <&gpio0>;
94             interrupts = <99 IRQ_TYPE_LEVEL_LOW>;   /* INTP */
95             pd-gpios = <&pio 33 GPIO_ACTIVE_HIGH>;
96             reset-gpios = <&pio 98 GPIO_ACTIVE_HIGH>;
98             ports {
99                 #address-cells = <1>;
100                 #size-cells = <0>;
102                 port@0 {
103                     reg = <0>;
104                     anx7814_in: endpoint {
105                         remote-endpoint = <&hdmi0_out>;
106                     };
107                 };
109                 port@1 {
110                     reg = <1>;
111                     anx7814_out: endpoint {
112                         remote-endpoint = <&edp_out>;
113                     };
114                 };
115             };
116         };
117     };