linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] leds: lp55xx_common: enable use without FW_LOADER_USER_HELPER
@ 2025-10-06 10:37 Sicelo A. Mhlongo
  2025-10-09 16:02 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Sicelo A. Mhlongo @ 2025-10-06 10:37 UTC (permalink / raw)
  To: lee, pavel, corbet
  Cc: linux-leds, linux-doc, maemo-leste, phone-devel,
	Sicelo A. Mhlongo

Many distributions disable FW_LOADER_USER_HELPER, and this configuration
makes lp55xx LEDs completely unusable. Enable their use by only implying
the user helper, since the basic LEDs and the hardware patterns can be used
with only the sysfs interface.

Tested on Nokia N900 with LP5523.

Additionally do not refer to the sysfs interface as legacy anymore, since
it might be the only one available to users.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
 Documentation/leds/leds-lp5521.rst | 2 +-
 Documentation/leds/leds-lp5523.rst | 2 +-
 drivers/leds/Kconfig               | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/leds/leds-lp5521.rst b/Documentation/leds/leds-lp5521.rst
index 0432615b083d6..6888c5beceed8 100644
--- a/Documentation/leds/leds-lp5521.rst
+++ b/Documentation/leds/leds-lp5521.rst
@@ -22,7 +22,7 @@ More details of the instructions can be found from the public data sheet.
 LP5521 has the internal program memory for running various LED patterns.
 There are two ways to run LED patterns.
 
-1) Legacy interface - enginex_mode and enginex_load
+1) sysfs interface - enginex_mode and enginex_load
    Control interface for the engines:
 
    x is 1 .. 3
diff --git a/Documentation/leds/leds-lp5523.rst b/Documentation/leds/leds-lp5523.rst
index 7d7362a1dd575..d150bb7d7b703 100644
--- a/Documentation/leds/leds-lp5523.rst
+++ b/Documentation/leds/leds-lp5523.rst
@@ -35,7 +35,7 @@ If both fields are NULL, 'lp5523' is used by default.
 LP5523 has the internal program memory for running various LED patterns.
 There are two ways to run LED patterns.
 
-1) Legacy interface - enginex_mode, enginex_load and enginex_leds
+1) sysfs interface - enginex_mode, enginex_load and enginex_leds
 
   Control interface for the engines:
 
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 6e3dce7e35a49..3d1895ec38b2e 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -443,8 +443,8 @@ config LEDS_LP55XX_COMMON
 	depends on LEDS_CLASS_MULTICOLOR
 	depends on OF
 	depends on I2C
-	select FW_LOADER
-	select FW_LOADER_USER_HELPER
+	imply FW_LOADER
+	imply FW_LOADER_USER_HELPER
 	help
 	  This option supports common operations for LP5521/5523/55231/5562/5569/
 	  8501 devices.
-- 
2.51.0


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

* Re: [PATCH] leds: lp55xx_common: enable use without FW_LOADER_USER_HELPER
  2025-10-06 10:37 [PATCH] leds: lp55xx_common: enable use without FW_LOADER_USER_HELPER Sicelo A. Mhlongo
@ 2025-10-09 16:02 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2025-10-09 16:02 UTC (permalink / raw)
  To: Sicelo A. Mhlongo
  Cc: pavel, corbet, linux-leds, linux-doc, maemo-leste, phone-devel

On Mon, 06 Oct 2025, Sicelo A. Mhlongo wrote:

> Many distributions disable FW_LOADER_USER_HELPER, and this configuration
> makes lp55xx LEDs completely unusable. Enable their use by only implying
> the user helper, since the basic LEDs and the hardware patterns can be used
> with only the sysfs interface.
> 
> Tested on Nokia N900 with LP5523.
> 
> Additionally do not refer to the sysfs interface as legacy anymore, since
> it might be the only one available to users.
> 
> Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
> ---
>  Documentation/leds/leds-lp5521.rst | 2 +-
>  Documentation/leds/leds-lp5523.rst | 2 +-
>  drivers/leds/Kconfig               | 4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks

-- 
Lee Jones [李琼斯]

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

end of thread, other threads:[~2025-10-09 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-06 10:37 [PATCH] leds: lp55xx_common: enable use without FW_LOADER_USER_HELPER Sicelo A. Mhlongo
2025-10-09 16:02 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).