[PATCH v3 0/2] leds: Add support for the is31fl3206 LED driver
From: Flavio Amieiro
Date: Tue Oct 13 2026 - 06:11:24 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.
Because the layout of the register is very different from the previously
supported variants, this patch follows a similar pattern present in the
driver for paths that deviated from the norm: the chipdef can define a
pointer to an extra function that (if non-NULL) will be called during
probing. This was already done for reset_func and for sw_shutdown_func
in order to support other chips in the same family but here, if the
function is defined, the original initialization code will not run. This
is because, in the previously existing cases, the lack of a register
meant the generic code could be skipped, while here the registers exist,
but differ in function.
The patches keep the previous behavior of using only the PWM registers
to control the state of the LEDs. For that reason, the current output
is always set to the maximum value.
Signed-off-by: Flavio Amieiro <flavio@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: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
Cc: linux-leds@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: devicetree@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 | 95 ++++++++++++++++++----
2 files changed, 80 insertions(+), 16 deletions(-)
---
base-commit: 05b4738b0078f7d6f154f68068a11c8a0635e9df
change-id: 20261012-add-is31fl3206-support-d557f863a97a
Best regards,
--
Flavio Amieiro <flavio@xxxxxxxxxxx>