Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs

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

Cc: stable@vger.kernel.org
Fixes: 242b81170fb8 ("leds: lp50xx: Add the LP50XX family of the RGB LED driver")
Signed-off-by: Christian Hitz <christian.hitz@bbv.ch>
Link: https://patch.msgid.link/20251022063305.972190-1-christian@klarinett.li
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Christian Hitz and committed by
Lee Jones
5246e367 c06a0174

+1 -1
+1 -1
drivers/leds/leds-lp50xx.c
··· 54 54 /* There are 3 LED outputs per bank */ 55 55 #define LP50XX_LEDS_PER_MODULE 3 56 56 57 - #define LP5009_MAX_LED_MODULES 2 57 + #define LP5009_MAX_LED_MODULES 3 58 58 #define LP5012_MAX_LED_MODULES 4 59 59 #define LP5018_MAX_LED_MODULES 6 60 60 #define LP5024_MAX_LED_MODULES 8