xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/innolux,p097pfg.yaml (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
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
7title: Innolux P097PFG 9.7" 1536x2048 TFT LCD panel
8
9maintainers:
10  - Lin Huang <hl@rock-chips.com>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
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
29required:
30  - compatible
31  - reg
32  - avdd-supply
33  - avee-supply
34  - enable-gpios
35
36additionalProperties: false
37
38examples:
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...
57