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/rocktech,jh057n00900.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
8
9maintainers:
10  - Ondrej Jirman <megi@xff.cz>
11
12description:
13  Rocktech JH057N00900 is a 720x1440 TFT LCD panel
14  connected using a MIPI-DSI video interface.
15
16allOf:
17  - $ref: panel-common.yaml#
18
19properties:
20  compatible:
21    enum:
22      # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
23      - rocktech,jh057n00900
24      # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel
25      - xingbangda,xbd599
26
27  port: true
28  reg:
29    maxItems: 1
30    description: DSI virtual channel
31
32  vcc-supply:
33    description: Panel power supply
34
35  iovcc-supply:
36    description: I/O voltage supply
37
38  reset-gpios: true
39
40  backlight: true
41
42required:
43  - compatible
44  - reg
45  - vcc-supply
46  - iovcc-supply
47  - reset-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        panel@0 {
59            compatible = "rocktech,jh057n00900";
60            reg = <0>;
61            vcc-supply = <&reg_2v8_p>;
62            iovcc-supply = <&reg_1v8_p>;
63            reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
64            backlight = <&backlight>;
65        };
66    };
67
68...
69