summaryrefslogtreecommitdiff
path: root/drivers/leds/rgb/Kconfig
diff options
context:
space:
mode:
authorAndré Apitzsch <git@apitzsch.eu>2023-10-02 19:48:28 +0300
committerLee Jones <lee@kernel.org>2023-11-01 14:29:09 +0300
commit0ebdb7210943eb345992bea9892adbd15a206193 (patch)
tree7b0c92d56017a69b158079f3aa386a3d86083947 /drivers/leds/rgb/Kconfig
parent000b1eab4fce227dc81c312cd5fef05fce71d004 (diff)
downloadlinux-0ebdb7210943eb345992bea9892adbd15a206193.tar.xz
leds: Add ktd202x driver
This commit adds support for Kinetic KTD2026/7 RGB/White LED driver. Signed-off-by: André Apitzsch <git@apitzsch.eu> Link: https://lore.kernel.org/r/20231002-ktd202x-v6-2-26be8eefeb88@apitzsch.eu Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/rgb/Kconfig')
-rw-r--r--drivers/leds/rgb/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/leds/rgb/Kconfig b/drivers/leds/rgb/Kconfig
index 183bccc06cf3..a6a21f564673 100644
--- a/drivers/leds/rgb/Kconfig
+++ b/drivers/leds/rgb/Kconfig
@@ -14,6 +14,19 @@ config LEDS_GROUP_MULTICOLOR
To compile this driver as a module, choose M here: the module
will be called leds-group-multicolor.
+config LEDS_KTD202X
+ tristate "LED support for KTD202x Chips"
+ depends on I2C
+ depends on OF
+ select REGMAP_I2C
+ help
+ This option enables support for the Kinetic KTD2026/KTD2027
+ RGB/White LED driver found in different BQ mobile phones.
+ It is a 3 or 4 channel LED driver programmed via an I2C interface.
+
+ To compile this driver as a module, choose M here: the module
+ will be called leds-ktd202x.
+
config LEDS_PWM_MULTICOLOR
tristate "PWM driven multi-color LED Support"
depends on PWM