Sam Ravnborg | 6ab2b3d | 2020-01-02 11:17:11 +0100 | [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/panel-simple.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Simple panels with one power supply |
| 8 | |
| 9 | maintainers: |
| 10 | - Thierry Reding <thierry.reding@gmail.com> |
| 11 | - Sam Ravnborg <sam@ravnborg.org> |
| 12 | |
| 13 | description: | |
| 14 | This binding file is a collection of the simple (dumb) panels that |
| 15 | requires only a single power-supply. |
| 16 | There are optionally a backlight and an enable GPIO. |
| 17 | The panel may use an OF graph binding for the association to the display, |
| 18 | or it may be a direct child node of the display. |
| 19 | |
| 20 | If the panel is more advanced a dedicated binding file is required. |
| 21 | |
| 22 | allOf: |
| 23 | - $ref: panel-common.yaml# |
| 24 | |
| 25 | properties: |
| 26 | |
| 27 | compatible: |
| 28 | enum: |
| 29 | # compatible must be listed in alphabetical order, ordered by compatible. |
| 30 | # The description in the comment is mandatory for each compatible. |
| 31 | |
| 32 | # Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel |
| 33 | - ampire,am-480272h3tmqw-t01h |
| 34 | # Ampire AM-800480R3TMQW-A1H 7.0" WVGA TFT LCD panel |
| 35 | - ampire,am800480r3tmqwa1h |
Rob Clark | eb0201e | 2020-01-08 15:53:55 -0800 | [diff] [blame] | 36 | # AUO B116XAK01 eDP TFT LCD panel |
| 37 | - auo,b116xa01 |
Sam Ravnborg | 4cee2f8 | 2020-01-09 14:48:41 +0100 | [diff] [blame] | 38 | # BOE NV140FHM-N49 14.0" FHD a-Si FT panel |
| 39 | - boe,nv140fhmn49 |
Paul Cercueil | 7ab618c | 2020-01-13 13:17:40 -0300 | [diff] [blame^] | 40 | # Frida FRD350H54004 3.5" QVGA TFT LCD panel |
| 41 | - frida,frd350h54004 |
Paul Cercueil | 2ae4829 | 2020-01-08 21:29:59 -0300 | [diff] [blame] | 42 | # GiantPlus GPM940B0 3.0" QVGA TFT LCD panel |
| 43 | - giantplus,gpm940b0 |
Miquel Raynal | 923eb18 | 2020-01-09 19:40:36 +0100 | [diff] [blame] | 44 | # Satoz SAT050AT40H12R2 5.0" WVGA TFT LCD panel |
| 45 | - satoz,sat050at40h12r2 |
Paul Cercueil | 240a257 | 2020-01-08 21:30:00 -0300 | [diff] [blame] | 46 | # Sharp LS020B1DD01D 2.0" HQVGA TFT LCD panel |
| 47 | - sharp,ls020b1dd01d |
Sam Ravnborg | 6ab2b3d | 2020-01-02 11:17:11 +0100 | [diff] [blame] | 48 | |
| 49 | backlight: true |
| 50 | enable-gpios: true |
| 51 | port: true |
| 52 | power-supply: true |
| 53 | |
| 54 | additionalProperties: false |
| 55 | |
| 56 | required: |
| 57 | - compatible |
| 58 | - power-supply |
| 59 | |
| 60 | examples: |
| 61 | - | |
| 62 | panel_rgb: panel-rgb { |
| 63 | compatible = "ampire,am-480272h3tmqw-t01h"; |
| 64 | power-supply = <&vcc_lcd_reg>; |
| 65 | |
| 66 | port { |
| 67 | panel_in_rgb: endpoint { |
| 68 | remote-endpoint = <<dc_out_rgb>; |
| 69 | }; |
| 70 | }; |
| 71 | }; |