Add a binding and LED-class driver for the Lumissil IS32FL3207
18-channel constant-current LED controller. The driver supports individual
and multicolor LEDs, per-output current limits, an optional supply, and an
optional SDB GPIO.
This is the LED prerequisite split out of the Time Card v5 series following
the netdev maintainer's guidance. The dependent ptp_ocp board profiles will
be resent to net-next after the LED and I2C prerequisites land.
Changes since v5:
- Send the binding and driver as a standalone LED series.
- Raise the minimum led-max-microamp value to 149 uA, the lowest nonzero
setting representable at the maximum permitted full-scale current.
- Rebase onto the LED for-leds-next branch.
Krzysztof's Reviewed-by from v3 is not carried because the binding changed
materially after that review. It now supports groups beginning at outputs
16 and 17, documents the RISET/current-limit relationship, and enforces the
controller's minimum representable current.
Validation:
- dt-doc-validate
- dt-check-style --mode=strict
- targeted dt_binding_check
- x86-64 and arm64 defconfig/allmodconfig W=1 object builds
v5: https://lore.kernel.org/r/[email protected]/
Ahmad Byagowi (2):
dt-bindings: leds: Add IS32FL3207 controller
leds: is32fl3207: Add controller driver
.../bindings/leds/issi,is32fl3207.yaml | 285 +++++++
MAINTAINERS | 7 +
drivers/leds/rgb/Kconfig | 11 +
drivers/leds/rgb/Makefile | 1 +
drivers/leds/rgb/leds-is32fl3207.c | 736 ++++++++++++++++++
5 files changed, 1040 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/issi,is32fl3207.yaml
create mode 100644 drivers/leds/rgb/leds-is32fl3207.c
base-commit: f8cca63a0a4f3475199d9ab7f86782bdfeb0744d
--
2.50.1 (Apple Git-155)