]>
Commit | Line | Data |
---|---|---|
6ab2b3d9 SR |
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 | |
eb0201e6 RC |
36 | # AUO B116XAK01 eDP TFT LCD panel |
37 | - auo,b116xa01 | |
6ab2b3d9 SR |
38 | |
39 | backlight: true | |
40 | enable-gpios: true | |
41 | port: true | |
42 | power-supply: true | |
43 | ||
44 | additionalProperties: false | |
45 | ||
46 | required: | |
47 | - compatible | |
48 | - power-supply | |
49 | ||
50 | examples: | |
51 | - | | |
52 | panel_rgb: panel-rgb { | |
53 | compatible = "ampire,am-480272h3tmqw-t01h"; | |
54 | power-supply = <&vcc_lcd_reg>; | |
55 | ||
56 | port { | |
57 | panel_in_rgb: endpoint { | |
58 | remote-endpoint = <<dc_out_rgb>; | |
59 | }; | |
60 | }; | |
61 | }; |