xref: /linux/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/ilitek,ili9163.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Ilitek ILI9163 display panels
8
9maintainers:
10  - Daniel Mack <daniel@zonque.org>
11
12description:
13  This binding is for display panels using an Ilitek ILI9163 controller in SPI
14  mode.
15
16allOf:
17  - $ref: panel-common.yaml#
18  - $ref: /schemas/spi/spi-peripheral-props.yaml#
19
20properties:
21  compatible:
22    items:
23      - enum:
24          - newhaven,1.8-128160EF
25      - const: ilitek,ili9163
26
27  reg:
28    maxItems: 1
29
30  spi-max-frequency:
31    maximum: 32000000
32
33  dc-gpios:
34    maxItems: 1
35    description: Display data/command selection (D/CX)
36
37  backlight: true
38  reset-gpios: true
39  rotation: true
40
41required:
42  - compatible
43  - reg
44  - dc-gpios
45  - reset-gpios
46
47unevaluatedProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/gpio/gpio.h>
52
53    spi {
54            #address-cells = <1>;
55            #size-cells = <0>;
56
57            display@0 {
58                    compatible = "newhaven,1.8-128160EF", "ilitek,ili9163";
59                    reg = <0>;
60                    spi-max-frequency = <32000000>;
61                    dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
62                    reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
63                    rotation = <180>;
64                    backlight = <&backlight>;
65            };
66    };
67
68...
69