blob: bce96b5b0db083463eed3dba24dc6b26b99b025f [file] [log] [blame]
Ricardo Cañuelob07de442020-05-14 12:12:35 +02001# 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:
Krzysztof Kozlowski5e547d62022-01-20 11:40:08 +010010 - Andrzej Hajda <andrzej.hajda@intel.com>
11 - Neil Armstrong <narmstrong@baylibre.com>
12 - Robert Foss <robert.foss@linaro.org>
Ricardo Cañuelob07de442020-05-14 12:12:35 +020013
14properties:
15 compatible:
16 enum:
17 - analogix,anx7808
18 - analogix,anx7812
19 - analogix,anx7814
20 - analogix,anx7818
21
22 reg:
23 maxItems: 1
24 description: I2C address of the device.
25
26 interrupts:
27 maxItems: 1
28 description: Should contain the INTP interrupt.
29
30 hpd-gpios:
31 deprecated: true
32 maxItems: 1
33 description: Which GPIO to use for hpd.
34
35 pd-gpios:
36 maxItems: 1
37 description: Which GPIO to use for power down.
38
39 reset-gpios:
40 maxItems: 1
41 description: Which GPIO to use for reset.
42
43 dvdd10-supply:
44 description: Regulator for 1.0V digital core power.
45
46 ports:
Rob Herringb6755422021-01-04 11:07:23 -070047 $ref: /schemas/graph.yaml#/properties/ports
Ricardo Cañuelob07de442020-05-14 12:12:35 +020048
49 properties:
50 port@0:
Rob Herringb6755422021-01-04 11:07:23 -070051 $ref: /schemas/graph.yaml#/properties/port
Ricardo Cañuelob07de442020-05-14 12:12:35 +020052 description: Video port for HDMI input.
53
Ricardo Cañuelob07de442020-05-14 12:12:35 +020054 port@1:
Rob Herringb6755422021-01-04 11:07:23 -070055 $ref: /schemas/graph.yaml#/properties/port
Ricardo Cañuelob07de442020-05-14 12:12:35 +020056 description:
57 Video port for SlimPort, DisplayPort, eDP or MyDP output.
58
Ricardo Cañuelob07de442020-05-14 12:12:35 +020059 required:
60 - port@0
61 - port@1
62
63required:
64 - compatible
65 - reg
66 - ports
67
68additionalProperties: false
69
70examples:
71 - |
72 #include <dt-bindings/interrupt-controller/arm-gic.h>
73 #include <dt-bindings/gpio/gpio.h>
74
75 i2c {
76 #address-cells = <1>;
77 #size-cells = <0>;
78
79 anx7814: bridge@38 {
80 compatible = "analogix,anx7814";
81 reg = <0x38>;
82 interrupt-parent = <&gpio0>;
83 interrupts = <99 IRQ_TYPE_LEVEL_LOW>; /* INTP */
84 pd-gpios = <&pio 33 GPIO_ACTIVE_HIGH>;
85 reset-gpios = <&pio 98 GPIO_ACTIVE_HIGH>;
86
87 ports {
88 #address-cells = <1>;
89 #size-cells = <0>;
90
91 port@0 {
92 reg = <0>;
93 anx7814_in: endpoint {
94 remote-endpoint = <&hdmi0_out>;
95 };
96 };
97
98 port@1 {
99 reg = <1>;
100 anx7814_out: endpoint {
101 remote-endpoint = <&edp_out>;
102 };
103 };
104 };
105 };
106 };
107
108...