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