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
7title: Simple panels with one power supply
8
9maintainers:
10  - Thierry Reding <thierry.reding@gmail.com>
11  - Sam Ravnborg <sam@ravnborg.org>
12
13description: |
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
22allOf:
23  - $ref: panel-common.yaml#
24
25properties:
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
36        # AUO B116XAK01 eDP TFT LCD panel
37      - auo,b116xa01
38        # BOE NV140FHM-N49 14.0" FHD a-Si FT panel
39      - boe,nv140fhmn49
40        # GiantPlus GPM940B0 3.0" QVGA TFT LCD panel
41      - giantplus,gpm940b0
42        # Satoz SAT050AT40H12R2 5.0" WVGA TFT LCD panel
43      - satoz,sat050at40h12r2
44        # Sharp LS020B1DD01D 2.0" HQVGA TFT LCD panel
45      - sharp,ls020b1dd01d
46
47  backlight: true
48  enable-gpios: true
49  port: true
50  power-supply: true
51
52additionalProperties: false
53
54required:
55  - compatible
56  - power-supply
57
58examples:
59  - |
60    panel_rgb: panel-rgb {
61      compatible = "ampire,am-480272h3tmqw-t01h";
62      power-supply = <&vcc_lcd_reg>;
63
64      port {
65        panel_in_rgb: endpoint {
66          remote-endpoint = <&ltdc_out_rgb>;
67        };
68      };
69    };
70