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
38  port: true
39
40required:
41  - compatible
42  - reg
43  - vddp-supply
44  - iovcc-supply
45  - enable-gpios
46  - reset-gpios
47  - dcdc-en-gpios
48
49additionalProperties: false
50
51examples:
52  - |
53    #include <dt-bindings/gpio/gpio.h>
54
55    dsi {
56        #address-cells = <1>;
57        #size-cells = <0>;
58
59        panel@0 {
60            compatible = "jdi,lt070me05000";
61            reg = <0>;
62
63            vddp-supply = <&pm8921_l17>;
64            iovcc-supply = <&pm8921_lvs7>;
65
66            enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
67            reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
68            dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
69        };
70    };
71
72...
73