]> asedeno.scripts.mit.edu Git - linux.git/blob - Documentation/devicetree/bindings/display/panel/panel-simple.yaml
dt-bindings: one binding file for all simple panels
[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
37   backlight: true
38   enable-gpios: true
39   port: true
40   power-supply: true
41
42 additionalProperties: false
43
44 required:
45   - compatible
46   - power-supply
47
48 examples:
49   - |
50     panel_rgb: panel-rgb {
51       compatible = "ampire,am-480272h3tmqw-t01h";
52       power-supply = <&vcc_lcd_reg>;
53
54       port {
55         panel_in_rgb: endpoint {
56           remote-endpoint = <&ltdc_out_rgb>;
57         };
58       };
59     };