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      - ys,ys57pss36bh5gq
24
25  port: true
26  reg:
27    maxItems: 1
28    description: DSI virtual channel
29
30  avdd-supply:
31    description: Positive analog power supply
32
33  avee-supply:
34    description: Negative analog power supply
35
36  vddi-supply:
37    description: 1.8V I/O voltage supply
38
39  reset-gpios: true
40
41  mantix,tp-rstn-gpios:
42    maxItems: 1
43    description: second reset line that triggers DSI config load
44
45  backlight: true
46
47required:
48  - compatible
49  - reg
50  - avdd-supply
51  - avee-supply
52  - vddi-supply
53  - reset-gpios
54
55additionalProperties: false
56
57examples:
58  - |
59    #include <dt-bindings/gpio/gpio.h>
60
61    dsi {
62        #address-cells = <1>;
63        #size-cells = <0>;
64        panel@0 {
65            compatible = "mantix,mlaf057we51-x";
66            reg = <0>;
67            avdd-supply = <&reg_avdd>;
68            avee-supply = <&reg_avee>;
69            vddi-supply = <&reg_1v8_p>;
70            reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
71            mantix,tp-rstn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
72            backlight = <&backlight>;
73        };
74    };
75
76...
77