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