1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Ilitek ILI9881c based MIPI-DSI panels
8
9maintainers:
10  - Maxime Ripard <mripard@kernel.org>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    items:
18      - enum:
19          - ampire,am8001280g
20          - bananapi,lhr050h41
21          - feixin,k101-im2byl02
22          - tdo,tl050hdv35
23          - wanchanglong,w552946aba
24      - const: ilitek,ili9881c
25
26  backlight: true
27  power-supply: true
28  reg: true
29  reset-gpios: true
30  rotation: true
31
32required:
33  - compatible
34  - power-supply
35  - reg
36
37additionalProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/gpio/gpio.h>
42
43    dsi {
44        #address-cells = <1>;
45        #size-cells = <0>;
46
47        panel@0 {
48            compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
49            reg = <0>;
50            power-supply = <&reg_display>;
51            reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
52            backlight = <&pwm_bl>;
53        };
54    };
55
56...
57