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          - bananapi,lhr050h41
20          - feixin,k101-im2byl02
21          - wanchanglong,w552946aba
22      - const: ilitek,ili9881c
23
24  backlight: true
25  power-supply: true
26  reg: true
27  reset-gpios: true
28  rotation: true
29
30required:
31  - compatible
32  - power-supply
33  - reg
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/gpio/gpio.h>
40
41    dsi {
42        #address-cells = <1>;
43        #size-cells = <0>;
44
45        panel@0 {
46            compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
47            reg = <0>;
48            power-supply = <&reg_display>;
49            reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
50            backlight = <&pwm_bl>;
51        };
52    };
53
54...
55