Debian Codegraph @

Documentation/devicetree/bindings/display/panel/innolux,p097pfg.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/innolux,p097pfg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Innolux P097PFG 9.7" 1536x2048 TFT LCD panel
8
9 maintainers:
10 - Lin Huang <[email protected]>
11
12 allOf:
13 - $ref: panel-common.yaml#
14
15 properties:
16 compatible:
17 const: innolux,p097pfg
18
19 reg:
20 maxItems: 1
21
22 backlight: true
23 enable-gpios: true
24
25 avdd-supply:
26 description: The regulator that provides positive voltage
27
28 avee-supply:
29 description: The regulator that provides negative voltage
30
31 required:
32 - compatible
33 - reg
34 - avdd-supply
35 - avee-supply
36 - enable-gpios
37
38 additionalProperties: false
39
40 examples:
41 - |
42 #include <dt-bindings/gpio/gpio.h>
43
44 dsi {
45 #address-cells = <1>;
46 #size-cells = <0>;
47
48 panel@0 {
49 compatible = "innolux,p097pfg";
50 reg = <0>;
51 avdd-supply = <&avdd>;
52 avee-supply = <&avee>;
53 backlight = <&backlight>;
54 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
55 };
56 };
57
58 ...