GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / display / panel / innolux,p097pfg.yaml
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 <hl@rock-chips.com>
11
12 allOf:
13   - $ref: panel-common.yaml#
14
15 properties:
16   compatible:
17     const: innolux,p097pfg
18
19   backlight: true
20   enable-gpios: true
21   reg: true
22
23   avdd-supply:
24     description: The regulator that provides positive voltage
25
26   avee-supply:
27     description: The regulator that provides negative voltage
28
29 required:
30   - compatible
31   - reg
32   - avdd-supply
33   - avee-supply
34   - enable-gpios
35
36 additionalProperties: false
37
38 examples:
39   - |
40     #include <dt-bindings/gpio/gpio.h>
41
42     dsi {
43         #address-cells = <1>;
44         #size-cells = <0>;
45
46         panel@0 {
47             compatible = "innolux,p097pfg";
48             reg = <0>;
49             avdd-supply = <&avdd>;
50             avee-supply = <&avee>;
51             backlight = <&backlight>;
52             enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
53         };
54     };
55
56 ...