xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/ilitek,ili9881c.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Ilitek ILI9881c based MIPI-DSI panels
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Maxime Ripard <mripard@kernel.org>
11c66ec88fSEmmanuel Vadot
12e67e8565SEmmanuel VadotallOf:
13e67e8565SEmmanuel Vadot  - $ref: panel-common.yaml#
14e67e8565SEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    items:
18c66ec88fSEmmanuel Vadot      - enum:
198d13bc63SEmmanuel Vadot          - ampire,am8001280g
20c66ec88fSEmmanuel Vadot          - bananapi,lhr050h41
216be33864SEmmanuel Vadot          - feixin,k101-im2byl02
22*7d0873ebSEmmanuel Vadot          - startek,kd050hdfia020
23aa1a8ff2SEmmanuel Vadot          - tdo,tl050hdv35
24e67e8565SEmmanuel Vadot          - wanchanglong,w552946aba
25c66ec88fSEmmanuel Vadot      - const: ilitek,ili9881c
26c66ec88fSEmmanuel Vadot
27*7d0873ebSEmmanuel Vadot  reg:
28*7d0873ebSEmmanuel Vadot    maxItems: 1
29*7d0873ebSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  backlight: true
31c66ec88fSEmmanuel Vadot  power-supply: true
32c66ec88fSEmmanuel Vadot  reset-gpios: true
33e67e8565SEmmanuel Vadot  rotation: true
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadotrequired:
36c66ec88fSEmmanuel Vadot  - compatible
37c66ec88fSEmmanuel Vadot  - power-supply
38c66ec88fSEmmanuel Vadot  - reg
39c66ec88fSEmmanuel Vadot
40c66ec88fSEmmanuel VadotadditionalProperties: false
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel Vadotexamples:
43c66ec88fSEmmanuel Vadot  - |
44c66ec88fSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
45c66ec88fSEmmanuel Vadot
46c66ec88fSEmmanuel Vadot    dsi {
47c66ec88fSEmmanuel Vadot        #address-cells = <1>;
48c66ec88fSEmmanuel Vadot        #size-cells = <0>;
49c66ec88fSEmmanuel Vadot
50c66ec88fSEmmanuel Vadot        panel@0 {
51c66ec88fSEmmanuel Vadot            compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
52c66ec88fSEmmanuel Vadot            reg = <0>;
53c66ec88fSEmmanuel Vadot            power-supply = <&reg_display>;
54c66ec88fSEmmanuel Vadot            reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
55c66ec88fSEmmanuel Vadot            backlight = <&pwm_bl>;
56c66ec88fSEmmanuel Vadot        };
57c66ec88fSEmmanuel Vadot    };
58c66ec88fSEmmanuel Vadot
59c66ec88fSEmmanuel Vadot...
60