public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] leds: syscon: Add tristate option
@ 2026-03-08  1:58 Bevan Weiss
  2026-03-08  1:58 ` [PATCH v2 1/1] " Bevan Weiss
  0 siblings, 1 reply; 5+ messages in thread
From: Bevan Weiss @ 2026-03-08  1:58 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek; +Cc: linux-leds, linux-kernel, Bevan Weiss

> 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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH v2 0/1] leds: syscon: Add tristate option
@ 2026-03-08  1:56 Bevan Weiss
  2026-03-08  1:56 ` [PATCH v2 1/1] " Bevan Weiss
  0 siblings, 1 reply; 5+ messages in thread
From: Bevan Weiss @ 2026-03-08  1:56 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek; +Cc: linux-leds, linux-kernel, Bevan Weiss

> 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(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-03-19 11:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-08  1:58 [PATCH v2 0/1] leds: syscon: Add tristate option Bevan Weiss
2026-03-08  1:58 ` [PATCH v2 1/1] " Bevan Weiss
2026-03-19 10:13   ` Lee Jones
2026-03-19 11:33     ` Bevan Weiss
  -- strict thread matches above, loose matches on Subject: below --
2026-03-08  1:56 [PATCH v2 0/1] " Bevan Weiss
2026-03-08  1:56 ` [PATCH v2 1/1] " Bevan Weiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox