1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/jdi,lt070me05000.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: JDI model LT070ME05000 1200x1920 7" DSI Panel
8
9maintainers:
10  - Vinay Simha BN <simhavcs@gmail.com>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    const: jdi,lt070me05000
18
19  enable-gpios: true
20  reg: true
21  reset-gpios: true
22
23  vddp-supply:
24    description: |
25      The regulator that provides the supply voltage Power IC supply (3-5V)
26
27  iovcc-supply:
28    description: |
29      The regulator that provides the supply voltage IOVCC,
30      power supply for LCM (1.8V)
31
32  dcdc-en-gpios:
33    maxItems: 1
34    description: |
35      phandle of the gpio for power ic line
36      Power IC supply enable, High active
37
38required:
39  - compatible
40  - reg
41  - vddp-supply
42  - iovcc-supply
43  - enable-gpios
44  - reset-gpios
45  - dcdc-en-gpios
46
47additionalProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/gpio/gpio.h>
52
53    dsi {
54        #address-cells = <1>;
55        #size-cells = <0>;
56
57        panel@0 {
58            compatible = "jdi,lt070me05000";
59            reg = <0>;
60
61            vddp-supply = <&pm8921_l17>;
62            iovcc-supply = <&pm8921_lvs7>;
63
64            enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
65            reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
66            dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
67        };
68    };
69
70...
71