Skip to content

leds: syscon: Add tristate option

Bevan Weiss linux-leds lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/21 patch 3 repliesIn review
  2. v2 posting 1/21 patch 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1leds: syscon: Add tristate optiondrivers/leds/Kconfig drivers/leds/leds-syscon.c+19 -53 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] leds: syscon: Add tristate option
Quoted 1 line

My first submission to a linux-kernel list, so apologies for any errors.

Apologies, that didn't age well, I should have looked at the file history. It looks like the module=>builtin was done before, so this change reverts that.

It also adds MODULE_DESCRIPTION and MODULE_LICENSE along with the tristate Kconfig.

In OpenWrt, this allows leds-syscon to be .config'd as a module in subtargets, and then included / excluded from rootfs filesystems as required for specific boards. Without this, every board would need to have leds-syscon compiled as builtin just to provide it for one specific board. And OpenWrt devices are often space-constrained, where this is a significant concern.

Bevan Weiss (1):
leds: syscon: Add tristate option

 drivers/leds/Kconfig       |  4 ++--
 drivers/leds/leds-syscon.c | 20 +++++++++++++++++---
 2 files changed, 19 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0