Merge tag 'media/v5.8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / bridge / anx6345.yaml
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
7 title: Analogix ANX6345 eDP Transmitter Device Tree Bindings
8
9 maintainers:
10   - Torsten Duwe <duwe@lst.de>
11
12 description: |
13   The ANX6345 is an ultra-low power Full-HD eDP transmitter designed for
14   portable devices.
15
16 properties:
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       '#address-cells':
41         const: 1
42
43       '#size-cells':
44         const: 0
45
46       port@0:
47         type: object
48         description: |
49           Video port for LVTTL input
50
51       port@1:
52         type: object
53         description: |
54           Video port for eDP output (panel or connector).
55           May be omitted if EDID works reliably.
56
57     required:
58       - port@0
59
60     additionalProperties: false
61
62 required:
63   - compatible
64   - reg
65   - reset-gpios
66   - dvdd12-supply
67   - dvdd25-supply
68   - ports
69
70 additionalProperties: false
71
72 examples:
73   - |
74     i2c0 {
75       #address-cells = <1>;
76       #size-cells = <0>;
77
78       anx6345: anx6345@38 {
79         compatible = "analogix,anx6345";
80         reg = <0x38>;
81         reset-gpios = <&pio42 1 /* GPIO_ACTIVE_LOW */>;
82         dvdd25-supply = <&reg_dldo2>;
83         dvdd12-supply = <&reg_fldo1>;
84
85         ports {
86           #address-cells = <1>;
87           #size-cells = <0>;
88
89           anx6345_in: port@0 {
90             reg = <0>;
91             anx6345_in_tcon0: endpoint {
92               remote-endpoint = <&tcon0_out_anx6345>;
93             };
94           };
95
96           anx6345_out: port@1 {
97             reg = <1>;
98             anx6345_out_panel: endpoint {
99               remote-endpoint = <&panel_in_edp>;
100             };
101           };
102         };
103       };
104     };