Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Ondrej Jirman <megi@xff.cz> |
| 11 | - Guido GÅnther <agx@sigxcpu.org> |
| 12 | |
| 13 | description: |
| 14 | Rocktech JH057N00900 is a 720x1440 TFT LCD panel |
| 15 | connected using a MIPI-DSI video interface. |
| 16 | |
| 17 | allOf: |
| 18 | - $ref: panel-common.yaml# |
| 19 | |
| 20 | properties: |
| 21 | compatible: |
| 22 | enum: |
| 23 | # Anberic RG353V-V2 5.0" 640x480 TFT LCD panel |
| 24 | - anbernic,rg353v-panel-v2 |
| 25 | # Powkiddy RGB30 3.0" 720x720 TFT LCD panel |
| 26 | - powkiddy,rgb30-panel |
| 27 | # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel |
| 28 | - rocktech,jh057n00900 |
| 29 | # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel |
| 30 | - xingbangda,xbd599 |
| 31 | |
| 32 | port: true |
| 33 | reg: |
| 34 | maxItems: 1 |
| 35 | description: DSI virtual channel |
| 36 | |
| 37 | vcc-supply: |
| 38 | description: Panel power supply |
| 39 | |
| 40 | iovcc-supply: |
| 41 | description: I/O voltage supply |
| 42 | |
| 43 | reset-gpios: true |
| 44 | |
| 45 | backlight: true |
| 46 | |
| 47 | required: |
| 48 | - compatible |
| 49 | - reg |
| 50 | - vcc-supply |
| 51 | - iovcc-supply |
| 52 | - reset-gpios |
| 53 | |
| 54 | additionalProperties: false |
| 55 | |
| 56 | examples: |
| 57 | - | |
| 58 | #include <dt-bindings/gpio/gpio.h> |
| 59 | |
| 60 | dsi { |
| 61 | #address-cells = <1>; |
| 62 | #size-cells = <0>; |
| 63 | panel@0 { |
| 64 | compatible = "rocktech,jh057n00900"; |
| 65 | reg = <0>; |
| 66 | vcc-supply = <®_2v8_p>; |
| 67 | iovcc-supply = <®_1v8_p>; |
| 68 | reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; |
| 69 | backlight = <&backlight>; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | ... |