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    const: rocktech,jh057n00900
22
23  reg:
24    maxItems: 1
25    description: DSI virtual channel
26
27  vcc-supply:
28    description: Panel power supply
29
30  iovcc-supply:
31    description: I/O voltage supply
32
33  reset-gpios:
34    description: GPIO used for the reset pin
35    maxItems: 1
36
37  backlight:
38    description: Backlight used by the panel
39    $ref: "/schemas/types.yaml#/definitions/phandle"
40
41required:
42  - compatible
43  - reg
44  - vcc-supply
45  - iovcc-supply
46  - reset-gpios
47
48additionalProperties: false
49
50examples:
51  - |
52    #include <dt-bindings/gpio/gpio.h>
53
54    dsi {
55      #address-cells = <1>;
56      #size-cells = <0>;
57      panel@0 {
58        compatible = "rocktech,jh057n00900";
59        reg = <0>;
60        vcc-supply = <&reg_2v8_p>;
61        iovcc-supply = <&reg_1v8_p>;
62        reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
63        backlight = <&backlight>;
64      };
65    };
66...
67