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    type: object
36
37    properties:
38      '#address-cells':
39        const: 1
40
41      '#size-cells':
42        const: 0
43
44      port@0:
45        type: object
46        description: |
47          Video port for LVTTL input
48
49      port@1:
50        type: object
51        description: |
52          Video port for eDP output (panel or connector).
53          May be omitted if EDID works reliably.
54
55    required:
56      - port@0
57
58    additionalProperties: false
59
60required:
61  - compatible
62  - reg
63  - reset-gpios
64  - dvdd12-supply
65  - dvdd25-supply
66  - ports
67
68additionalProperties: false
69
70examples:
71  - |
72    i2c0 {
73      #address-cells = <1>;
74      #size-cells = <0>;
75
76      anx6345: anx6345@38 {
77        compatible = "analogix,anx6345";
78        reg = <0x38>;
79        reset-gpios = <&pio42 1 /* GPIO_ACTIVE_LOW */>;
80        dvdd25-supply = <&reg_dldo2>;
81        dvdd12-supply = <&reg_fldo1>;
82
83        ports {
84          #address-cells = <1>;
85          #size-cells = <0>;
86
87          anx6345_in: port@0 {
88            reg = <0>;
89            anx6345_in_tcon0: endpoint {
90              remote-endpoint = <&tcon0_out_anx6345>;
91            };
92          };
93
94          anx6345_out: port@1 {
95            reg = <1>;
96            anx6345_out_panel: endpoint {
97              remote-endpoint = <&panel_in_edp>;
98            };
99          };
100        };
101      };
102    };
103