]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
leds: lp5562: Add multicolor brightness control
authorMichal Vokáč <michal.vokac@ysoft.com>
Wed, 9 Oct 2024 09:56:35 +0000 (11:56 +0200)
committerLee Jones <lee@kernel.org>
Tue, 15 Oct 2024 11:58:41 +0000 (12:58 +0100)
commit681d5fa6440cf0fd3f561638c598db18aa77e641
tree6ee6c69ae7f2d950814f0d9fbd0a8c2519a87763
parentc161656b48ee22e51804d26fcc11bbcd2486d697
leds: lp5562: Add multicolor brightness control

The framework for multicolor brightness control is already in place
in the lp55xx-common code but the function to control the multicolor
brightness for this particular chip is still missing.

Implement the multicolor_brightness_fn function to allow multicolor
brightness control of LEDs connected to the LP5562 LED driver.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Link: https://lore.kernel.org/r/20241009095635.2790613-1-michal.vokac@ysoft.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-lp5562.c