GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / display / panel / ilitek,ili9881c.yaml
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
7 title: Ilitek ILI9881c based MIPI-DSI panels
8
9 maintainers:
10   - Maxime Ripard <mripard@kernel.org>
11
12 allOf:
13   - $ref: panel-common.yaml#
14
15 properties:
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   rotation: true
29
30 required:
31   - compatible
32   - power-supply
33   - reg
34
35 additionalProperties: false
36
37 examples:
38   - |
39     #include <dt-bindings/gpio/gpio.h>
40
41     dsi {
42         #address-cells = <1>;
43         #size-cells = <0>;
44
45         panel@0 {
46             compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
47             reg = <0>;
48             power-supply = <&reg_display>;
49             reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
50             backlight = <&pwm_bl>;
51         };
52     };
53
54 ...