xref: /linux/Documentation/devicetree/bindings/display/elgin,jg10309-01.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/elgin,jg10309-01.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Elgin JG10309-01 SPI-controlled display
8
9maintainers:
10  - Fabio Estevam <festevam@gmail.com>
11
12description: |
13  The Elgin JG10309-01 SPI-controlled display is used on the RV1108-Elgin-r1
14  board and is a custom display.
15
16allOf:
17  - $ref: /schemas/spi/spi-peripheral-props.yaml#
18
19properties:
20  compatible:
21    const: elgin,jg10309-01
22
23  reg:
24    maxItems: 1
25
26  spi-max-frequency:
27    maximum: 24000000
28
29  spi-cpha: true
30
31  spi-cpol: true
32
33required:
34  - compatible
35  - reg
36  - spi-cpha
37  - spi-cpol
38
39additionalProperties: false
40
41examples:
42  - |
43    spi {
44        #address-cells = <1>;
45        #size-cells = <0>;
46
47        display@0 {
48            compatible = "elgin,jg10309-01";
49            reg = <0>;
50            spi-max-frequency = <24000000>;
51            spi-cpha;
52            spi-cpol;
53        };
54    };
55