xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/ilitek,ili9881c.yaml (revision 9978553d0199e7ec0bdd1c44fc7f6c7b0c11e43b)
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          - ampire,am8001280g
20          - bananapi,lhr050h41
21          - feixin,k101-im2byl02
22          - raspberrypi,dsi-7inch
23          - startek,kd050hdfia020
24          - tdo,tl050hdv35
25          - wanchanglong,w552946aba
26      - const: ilitek,ili9881c
27
28  reg:
29    maxItems: 1
30
31  backlight: true
32  power-supply: true
33  reset-gpios: true
34  rotation: true
35
36required:
37  - compatible
38  - power-supply
39  - reg
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/gpio/gpio.h>
46
47    dsi {
48        #address-cells = <1>;
49        #size-cells = <0>;
50
51        panel@0 {
52            compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
53            reg = <0>;
54            power-supply = <&reg_display>;
55            reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
56            backlight = <&pwm_bl>;
57        };
58    };
59
60...
61