xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/rocktech,jh057n00900.yaml (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
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  - Guido Gŭnther <agx@sigxcpu.org>
12
13description:
14  Rocktech JH057N00900 is a 720x1440 TFT LCD panel
15  connected using a MIPI-DSI video interface.
16
17allOf:
18  - $ref: panel-common.yaml#
19
20properties:
21  compatible:
22    enum:
23      # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
24      - rocktech,jh057n00900
25      # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel
26      - xingbangda,xbd599
27
28  port: true
29  reg:
30    maxItems: 1
31    description: DSI virtual channel
32
33  vcc-supply:
34    description: Panel power supply
35
36  iovcc-supply:
37    description: I/O voltage supply
38
39  reset-gpios: true
40
41  backlight: true
42
43required:
44  - compatible
45  - reg
46  - vcc-supply
47  - iovcc-supply
48  - reset-gpios
49
50additionalProperties: false
51
52examples:
53  - |
54    #include <dt-bindings/gpio/gpio.h>
55
56    dsi {
57        #address-cells = <1>;
58        #size-cells = <0>;
59        panel@0 {
60            compatible = "rocktech,jh057n00900";
61            reg = <0>;
62            vcc-supply = <&reg_2v8_p>;
63            iovcc-supply = <&reg_1v8_p>;
64            reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
65            backlight = <&backlight>;
66        };
67    };
68
69...
70