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