0001 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/rocktech,jh057n00900.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
0008
0009 maintainers:
0010 - Ondrej Jirman <megi@xff.cz>
0011 - Guido GÅnther <agx@sigxcpu.org>
0012
0013 description:
0014 Rocktech JH057N00900 is a 720x1440 TFT LCD panel
0015 connected using a MIPI-DSI video interface.
0016
0017 allOf:
0018 - $ref: panel-common.yaml#
0019
0020 properties:
0021 compatible:
0022 enum:
0023 # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
0024 - rocktech,jh057n00900
0025 # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel
0026 - xingbangda,xbd599
0027
0028 port: true
0029 reg:
0030 maxItems: 1
0031 description: DSI virtual channel
0032
0033 vcc-supply:
0034 description: Panel power supply
0035
0036 iovcc-supply:
0037 description: I/O voltage supply
0038
0039 reset-gpios: true
0040
0041 backlight: true
0042
0043 required:
0044 - compatible
0045 - reg
0046 - vcc-supply
0047 - iovcc-supply
0048 - reset-gpios
0049
0050 additionalProperties: false
0051
0052 examples:
0053 - |
0054 #include <dt-bindings/gpio/gpio.h>
0055
0056 dsi {
0057 #address-cells = <1>;
0058 #size-cells = <0>;
0059 panel@0 {
0060 compatible = "rocktech,jh057n00900";
0061 reg = <0>;
0062 vcc-supply = <®_2v8_p>;
0063 iovcc-supply = <®_1v8_p>;
0064 reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
0065 backlight = <&backlight>;
0066 };
0067 };
0068
0069 ...