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  spi-max-frequency:
28    maximum: 32000000
29
30  dc-gpios:
31    maxItems: 1
32    description: Display data/command selection (D/CX)
33
34  backlight: true
35  reg: true
36  reset-gpios: true
37  rotation: true
38
39required:
40  - compatible
41  - reg
42  - dc-gpios
43  - reset-gpios
44
45unevaluatedProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/gpio/gpio.h>
50
51    spi {
52            #address-cells = <1>;
53            #size-cells = <0>;
54
55            display@0 {
56                    compatible = "newhaven,1.8-128160EF", "ilitek,ili9163";
57                    reg = <0>;
58                    spi-max-frequency = <32000000>;
59                    dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
60                    reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
61                    rotation = <180>;
62                    backlight = <&backlight>;
63            };
64    };
65
66...
67