1# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/mantix,mlaf057we51-x.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mantix MLAF057WE51-X 5.7" 720x1440 TFT LCD panel
8
9maintainers:
10  - Guido Günther <agx@sigxcpu.org>
11
12description:
13  Mantix MLAF057WE51 X is a 720x1440 TFT LCD panel connected using
14  a MIPI-DSI video interface.
15
16allOf:
17  - $ref: panel-common.yaml#
18
19properties:
20  compatible:
21    enum:
22      - mantix,mlaf057we51-x
23
24  port: true
25  reg:
26    maxItems: 1
27    description: DSI virtual channel
28
29  avdd-supply:
30    description: Positive analog power supply
31
32  avee-supply:
33    description: Negative analog power supply
34
35  vddi-supply:
36    description: 1.8V I/O voltage supply
37
38  reset-gpios: true
39
40  'mantix,tp-rstn-gpios':
41    description: second reset line that triggers DSI config load
42
43  backlight: true
44
45required:
46  - compatible
47  - reg
48  - avdd-supply
49  - avee-supply
50  - vddi-supply
51  - reset-gpios
52
53additionalProperties: false
54
55examples:
56  - |
57    #include <dt-bindings/gpio/gpio.h>
58
59    dsi {
60        #address-cells = <1>;
61        #size-cells = <0>;
62        panel@0 {
63            compatible = "mantix,mlaf057we51-x";
64            reg = <0>;
65            avdd-supply = <&reg_avdd>;
66            avee-supply = <&reg_avee>;
67            vddi-supply = <&reg_1v8_p>;
68            reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
69            mantix,tp-rstn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
70            backlight = <&backlight>;
71        };
72    };
73
74...
75