1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/bridge/anx6345.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analogix ANX6345 eDP Transmitter Device Tree Bindings
8
9maintainers:
10  - Torsten Duwe <duwe@lst.de>
11
12description: |
13  The ANX6345 is an ultra-low power Full-HD eDP transmitter designed for
14  portable devices.
15
16properties:
17  compatible:
18    const: analogix,anx6345
19
20  reg:
21    maxItems: 1
22    description: base I2C address of the device
23
24  reset-gpios:
25    maxItems: 1
26    description: GPIO connected to active low reset
27
28  dvdd12-supply:
29    description: Regulator for 1.2V digital core power.
30
31  dvdd25-supply:
32    description: Regulator for 2.5V digital core power.
33
34  ports:
35    $ref: /schemas/graph.yaml#/properties/ports
36
37    properties:
38      port@0:
39        $ref: /schemas/graph.yaml#/properties/port
40        description:
41          Video port for LVTTL input
42
43      port@1:
44        $ref: /schemas/graph.yaml#/properties/port
45        description:
46          Video port for eDP output (panel or connector).
47          May be omitted if EDID works reliably.
48
49    required:
50      - port@0
51
52required:
53  - compatible
54  - reg
55  - reset-gpios
56  - dvdd12-supply
57  - dvdd25-supply
58  - ports
59
60additionalProperties: false
61
62examples:
63  - |
64    i2c0 {
65      #address-cells = <1>;
66      #size-cells = <0>;
67
68      anx6345: anx6345@38 {
69        compatible = "analogix,anx6345";
70        reg = <0x38>;
71        reset-gpios = <&pio42 1 /* GPIO_ACTIVE_LOW */>;
72        dvdd25-supply = <&reg_dldo2>;
73        dvdd12-supply = <&reg_fldo1>;
74
75        ports {
76          #address-cells = <1>;
77          #size-cells = <0>;
78
79          anx6345_in: port@0 {
80            reg = <0>;
81            anx6345_in_tcon0: endpoint {
82              remote-endpoint = <&tcon0_out_anx6345>;
83            };
84          };
85
86          anx6345_out: port@1 {
87            reg = <1>;
88            anx6345_out_panel: endpoint {
89              remote-endpoint = <&panel_in_edp>;
90            };
91          };
92        };
93      };
94    };
95