summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/elgin,jg10309-01.yaml
blob: faca0cb3f1548dec6951ad0e302833ed717bea22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/elgin,jg10309-01.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Elgin JG10309-01 SPI-controlled display

maintainers:
  - Fabio Estevam <festevam@gmail.com>

description: |
  The Elgin JG10309-01 SPI-controlled display is used on the RV1108-Elgin-r1
  board and is a custom display.

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

properties:
  compatible:
    const: elgin,jg10309-01

  reg:
    maxItems: 1

  spi-max-frequency:
    maximum: 24000000

  spi-cpha: true

  spi-cpol: true

required:
  - compatible
  - reg
  - spi-cpha
  - spi-cpol

additionalProperties: false

examples:
  - |
    spi {
        #address-cells = <1>;
        #size-cells = <0>;

        display@0 {
            compatible = "elgin,jg10309-01";
            reg = <0>;
            spi-max-frequency = <24000000>;
            spi-cpha;
            spi-cpol;
        };
    };