treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / bridge / anx6345.yaml
blob6d72b3d11fbc4e9a31a9329cded32adea96285ff
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#
7 title: Analogix ANX6345 eDP Transmitter Device Tree Bindings
9 maintainers:
10   - Torsten Duwe <duwe@lst.de>
12 description: |
13   The ANX6345 is an ultra-low power Full-HD eDP transmitter designed for
14   portable devices.
16 properties:
17   compatible:
18     const: analogix,anx6345
20   reg:
21     maxItems: 1
22     description: base I2C address of the device
24   reset-gpios:
25     maxItems: 1
26     description: GPIO connected to active low reset
28   dvdd12-supply:
29     maxItems: 1
30     description: Regulator for 1.2V digital core power.
32   dvdd25-supply:
33     maxItems: 1
34     description: Regulator for 2.5V digital core power.
36   ports:
37     type: object
39     properties:
40       port@0:
41         type: object
42         description: |
43           Video port for LVTTL input
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.
51     required:
52       - port@0
54 required:
55   - compatible
56   - reg
57   - reset-gpios
58   - dvdd12-supply
59   - dvdd25-supply
60   - ports
62 additionalProperties: false
64 examples:
65   - |
66     i2c0 {
67       #address-cells = <1>;
68       #size-cells = <0>;
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>;
77         ports {
78           #address-cells = <1>;
79           #size-cells = <0>;
81           anx6345_in: port@0 {
82             #address-cells = <1>;
83             #size-cells = <0>;
84             reg = <0>;
85             anx6345_in_tcon0: endpoint@0 {
86               reg = <0>;
87               remote-endpoint = <&tcon0_out_anx6345>;
88             };
89           };
91           anx6345_out: port@1 {
92             #address-cells = <1>;
93             #size-cells = <0>;
94             reg = <1>;
95             anx6345_out_panel: endpoint@0 {
96               reg = <0>;
97               remote-endpoint = <&panel_in_edp>;
98             };
99           };
100         };
101       };
102     };