1# Copyright (c) 2022 Jimmy Ou <yanagiis@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Maxim MAX7219 LED display driver
6
7compatible: "maxim,max7219"
8
9include: spi-device.yaml
10
11properties:
12  scan-limit:
13    type: int
14    default: 7
15    enum:
16      - 0
17      - 1
18      - 2
19      - 3
20      - 4
21      - 5
22      - 6
23      - 7
24    description: |
25      Number of scanned digits for MAX7219.
26      Display digit 0 only when scan-limit is 0, digits 0 & 1 when
27      scan-limit is 1, and so on.
28  intensity:
29    type: int
30    default: 0
31    enum:
32      - 0
33      - 1
34      - 2
35      - 3
36      - 4
37      - 5
38      - 6
39      - 7
40      - 8
41      - 9
42      - 10
43      - 11
44      - 12
45      - 13
46      - 14
47      - 15
48    description: Intensity for MAX7219.
49  num-cascading:
50    type: int
51    default: 1
52    description: Number of cascading MAX7219.
53