xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/analogix,anx7814.yaml (revision 6580f5c38dd5b01aeeaed16b370f1a12423437f0)
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#
6
7title: Analogix ANX7814 SlimPort (Full-HD Transmitter)
8
9maintainers:
10  - Andrzej Hajda <andrzej.hajda@intel.com>
11  - Neil Armstrong <neil.armstrong@linaro.org>
12  - Robert Foss <robert.foss@linaro.org>
13
14properties:
15  compatible:
16    enum:
17      - analogix,anx7808
18      - analogix,anx7812
19      - analogix,anx7814
20      - analogix,anx7816
21      - analogix,anx7818
22
23  reg:
24    maxItems: 1
25    description: I2C address of the device.
26
27  interrupts:
28    maxItems: 1
29    description: Should contain the INTP interrupt.
30
31  hpd-gpios:
32    deprecated: true
33    maxItems: 1
34    description: Which GPIO to use for hpd.
35
36  pd-gpios:
37    maxItems: 1
38    description: Which GPIO to use for power down.
39
40  reset-gpios:
41    maxItems: 1
42    description: Which GPIO to use for reset.
43
44  dvdd10-supply:
45    description: Regulator for 1.0V digital core power.
46
47  ports:
48    $ref: /schemas/graph.yaml#/properties/ports
49
50    properties:
51      port@0:
52        $ref: /schemas/graph.yaml#/properties/port
53        description: Video port for HDMI input.
54
55      port@1:
56        $ref: /schemas/graph.yaml#/properties/port
57        description:
58          Video port for SlimPort, DisplayPort, eDP or MyDP output.
59
60    required:
61      - port@0
62      - port@1
63
64required:
65  - compatible
66  - reg
67  - ports
68
69additionalProperties: false
70
71examples:
72  - |
73    #include <dt-bindings/interrupt-controller/arm-gic.h>
74    #include <dt-bindings/gpio/gpio.h>
75
76    i2c {
77        #address-cells = <1>;
78        #size-cells = <0>;
79
80        anx7814: bridge@38 {
81            compatible = "analogix,anx7814";
82            reg = <0x38>;
83            interrupt-parent = <&gpio0>;
84            interrupts = <99 IRQ_TYPE_LEVEL_LOW>;   /* INTP */
85            pd-gpios = <&pio 33 GPIO_ACTIVE_HIGH>;
86            reset-gpios = <&pio 98 GPIO_ACTIVE_HIGH>;
87
88            ports {
89                #address-cells = <1>;
90                #size-cells = <0>;
91
92                port@0 {
93                    reg = <0>;
94                    anx7814_in: endpoint {
95                        remote-endpoint = <&hdmi0_out>;
96                    };
97                };
98
99                port@1 {
100                    reg = <1>;
101                    anx7814_out: endpoint {
102                        remote-endpoint = <&edp_out>;
103                    };
104                };
105            };
106        };
107    };
108
109...
110