[PATCH v5 0/2] leds: Add support for the is31fl3206 LED driver

From: Flavio Amieiro

Date: Sat Nov 14 2026 - 19:13:20 EST


This patch series adds support for the is31fl3206 LED driver to the
already existing is31fl32xx driver.

The main difference between this specific variant and the others in
the series is that the LED Control Register controls not only the
enable status of the channel, but also the maximum output current for
it.

This patch allows the chipdef to define at which offset the LED enable
bits are inside the LED Control Register, so when calculating the
value to write to the register we can offset it to the correct
position in the register for ICs like the IS31FL3206.

The patches keep the behavior of the drivers for the other ICs in the
family: initializing the LEDs by enabling all of them and setting
output current to maximum and then using only the PWM registers to
control the brightness of the LEDs.

Signed-off-by: Flavio Amieiro <flavio@xxxxxxxxxxx>
---
Changes in v5:
- Fix spelling in the documentation for the new attribute
- Rebase onto newest for-leds-next
- Use assignment operator for left shift
- Remove unecessary line wrap
- Link to v4: https://patch.msgid.link/20261028-add-is31fl3206-support-v4-0-e331cee9fcb3@xxxxxxxxxxx

Changes in v4:
- Changes approach from pointers to functions (used in v3) to
describing the LED control register layout.
- Link to v3: https://patch.msgid.link/20261013-add-is31fl3206-support-v3-0-66a762a3c12f@xxxxxxxxxxx

Changes in v3:
- Reorganizes the commits so the dt-bindings are documented before using
them
- Link to v2: https://patch.msgid.link/20261013-add-is31fl3206-support-v2-0-ca0d2bf5783f@xxxxxxxxxxx

Changes in v2:
- Avoid double initialization when enable_all_channels is non-NULL
- Add missing entry in the i2c_device_id table
- Link to v1: https://patch.msgid.link/20261013-add-is31fl3206-support-v1-0-08c066cc241d@xxxxxxxxxxx

To: Lee Jones <lee@xxxxxxxxxx>
To: Pavel Machek <pavel@xxxxxxxxxx>
To: Griffin Kroah-Hartman <griffin@xxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
Cc: linux-leds@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx

---
Flavio Amieiro (2):
dt-bindings: leds: Add issi,is31fl3206 to leds-is31fl32xx
leds: is31f132xx: Add support for is31fl3206

.../devicetree/bindings/leds/leds-is31fl32xx.txt | 1 +
drivers/leds/leds-is31fl32xx.c | 30 ++++++++++++++++++++--
2 files changed, 29 insertions(+), 2 deletions(-)
---
base-commit: 4e88404a72e5e26720539e5555c383069cefb486
change-id: 20261012-add-is31fl3206-support-d557f863a97a

Best regards,
--
Flavio Amieiro <flavio@xxxxxxxxxxx>