1# Copyright 2023 Daniel DeGrasse <daniel@degrasse.com>
2# SPDX-License-Identifier: Apache-2.0
3description: ISSI IS31FL3733 LED Matrix Driver
4
5compatible: "issi,is31fl3733"
6
7include: "i2c-device.yaml"
8
9properties:
10  sdb-gpios:
11    type: phandle-array
12    description: |
13      Hardware shutdown pin. If routed on the board, this property must be
14      present. Set to a logical 1 at boot to exit the device from hardware
15      shutdown.
16
17  current-limit:
18    type: int
19    default: 0xFF
20    description: |
21      Global current limit. Sets the global current control register of LED
22      driver (set table 14). Limits global current based on the following
23      formula: (840/R_ISET) * (current-limit/256). Defaults to max value
24      of 0xFF, so led output will still be enabled if property is
25      not provided.
26
27  sync-mode:
28    type: string
29    default: "none"
30    enum:
31      - "none"
32      - "master"
33      - "slave"
34    description: |
35      This property configures the LED controller as a master or slave
36      clock device. This can be used to synchronize the output of multiple
37      LED controllers. See SYNC bits in led configuration register for more
38      information.
39