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