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