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    description: second reset line that triggers DSI config load
43
44  backlight: true
45
46required:
47  - compatible
48  - reg
49  - avdd-supply
50  - avee-supply
51  - vddi-supply
52  - reset-gpios
53
54additionalProperties: false
55
56examples:
57  - |
58    #include <dt-bindings/gpio/gpio.h>
59
60    dsi {
61        #address-cells = <1>;
62        #size-cells = <0>;
63        panel@0 {
64            compatible = "mantix,mlaf057we51-x";
65            reg = <0>;
66            avdd-supply = <&reg_avdd>;
67            avee-supply = <&reg_avee>;
68            vddi-supply = <&reg_1v8_p>;
69            reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
70            mantix,tp-rstn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
71            backlight = <&backlight>;
72        };
73    };
74
75...
76