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