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:
39    description: GPIO used for the reset pin
40    maxItems: 1
41
42  backlight:
43    description: Backlight used by the panel
44    $ref: "/schemas/types.yaml#/definitions/phandle"
45
46required:
47  - compatible
48  - reg
49  - vcc-supply
50  - iovcc-supply
51  - reset-gpios
52
53additionalProperties: false
54
55examples:
56  - |
57    #include <dt-bindings/gpio/gpio.h>
58
59    dsi {
60      #address-cells = <1>;
61      #size-cells = <0>;
62      panel@0 {
63        compatible = "rocktech,jh057n00900";
64        reg = <0>;
65        vcc-supply = <&reg_2v8_p>;
66        iovcc-supply = <&reg_1v8_p>;
67        reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
68        backlight = <&backlight>;
69      };
70    };
71...
72