All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] leds: Add support for the is31fl3206 LED driver
@ 2026-10-13  3:33 Flavio Amieiro
  2026-10-13  3:33 ` [PATCH 1/2] leds: is31f132xx: Add support for is31fl3206 Flavio Amieiro
  2026-10-13  3:33 ` [PATCH 2/2] dt-bindings: leds: Add issi,is31fl3206 to leds-is31fl32xx Flavio Amieiro
  0 siblings, 2 replies; 9+ messages in thread
From: Flavio Amieiro @ 2026-10-13  3:33 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-leds, linux-kernel, devicetree, Flavio Amieiro

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 the same 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.

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.

This is my first attempt at a patch for the linux kernel, so please
let me know how I can improve it.

Signed-off-by: Flavio Amieiro <flavio@amieiro.net>
---
Flavio Amieiro (2):
      leds: is31f132xx: Add support for is31fl3206
      dt-bindings: leds: Add issi,is31fl3206 to leds-is31fl32xx

 .../devicetree/bindings/leds/leds-is31fl32xx.txt   |  1 +
 drivers/leds/leds-is31fl32xx.c                     | 89 ++++++++++++++++++----
 2 files changed, 74 insertions(+), 16 deletions(-)
---
base-commit: 05b4738b0078f7d6f154f68068a11c8a0635e9df
change-id: 20261012-add-is31fl3206-support-d557f863a97a

Best regards,
--  
Flavio Amieiro <flavio@amieiro.net>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-10-13 10:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13  3:33 [PATCH 0/2] leds: Add support for the is31fl3206 LED driver Flavio Amieiro
2026-10-13  3:33 ` [PATCH 1/2] leds: is31f132xx: Add support for is31fl3206 Flavio Amieiro
2026-10-13  3:42   ` sashiko-bot
2026-10-13  3:33 ` [PATCH 2/2] dt-bindings: leds: Add issi,is31fl3206 to leds-is31fl32xx Flavio Amieiro
2026-10-13  3:42   ` sashiko-bot
2026-10-13  9:38   ` Krzysztof Kozlowski
2026-10-13  9:58     ` Flávio Amieiro
2026-10-13 10:02       ` Krzysztof Kozlowski
2026-10-13 10:11         ` Flávio Amieiro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.