[PATCH v2] leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs

Christian Hitz posted 1 patch 3 months, 2 weeks ago
drivers/leds/leds-lp50xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
Posted by Christian Hitz 3 months, 2 weeks ago
From: Christian Hitz <christian.hitz@bbv.ch>

LP5009 supports 9 LED outputs that are grouped into 3 modules.

Fixes: 242b81170fb8 ("leds: lp50xx: Add the LP50XX family of the RGB LED driver")

Cc: stable@vger.kernel.org
Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
---
Changes in v2:
 - Improve log message
---
 drivers/leds/leds-lp50xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-lp50xx.c b/drivers/leds/leds-lp50xx.c
index 94f8ef6b482c..05229e2f2e7e 100644
--- a/drivers/leds/leds-lp50xx.c
+++ b/drivers/leds/leds-lp50xx.c
@@ -54,7 +54,7 @@
 /* There are 3 LED outputs per bank */
 #define LP50XX_LEDS_PER_MODULE	3
 
-#define LP5009_MAX_LED_MODULES	2
+#define LP5009_MAX_LED_MODULES	3
 #define LP5012_MAX_LED_MODULES	4
 #define LP5018_MAX_LED_MODULES	6
 #define LP5024_MAX_LED_MODULES	8
-- 
2.51.1
Re: (subset) [PATCH v2] leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
Posted by Lee Jones 3 months ago
On Wed, 22 Oct 2025 08:33:04 +0200, Christian Hitz wrote:
> LP5009 supports 9 LED outputs that are grouped into 3 modules.
> 
> Fixes: 242b81170fb8 ("leds: lp50xx: Add the LP50XX family of the RGB LED driver")
> 
> 

Applied, thanks!

[1/1] leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
      commit: 5246e3673eeeccb4f5bf4f42375dd495d465ac15

--
Lee Jones [李琼斯]