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