]> asedeno.scripts.mit.edu Git - linux.git/blob - Documentation/devicetree/bindings/display/panel/panel-simple.yaml
dt-bindings: display: add BOE 14" panel
[linux.git] / Documentation / devicetree / bindings / display / panel / panel-simple.yaml
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
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         # Sharp LS020B1DD01D 2.0" HQVGA TFT LCD panel
43       - sharp,ls020b1dd01d
44
45   backlight: true
46   enable-gpios: true
47   port: true
48   power-supply: true
49
50 additionalProperties: false
51
52 required:
53   - compatible
54   - power-supply
55
56 examples:
57   - |
58     panel_rgb: panel-rgb {
59       compatible = "ampire,am-480272h3tmqw-t01h";
60       power-supply = <&vcc_lcd_reg>;
61
62       port {
63         panel_in_rgb: endpoint {
64           remote-endpoint = <&ltdc_out_rgb>;
65         };
66       };
67     };