diff options
author | Vicentiu Galanopulo <vicentiu.galanopulo@remote-tech.co.uk> | 2024-12-18 18:33:59 +0000 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-01-09 10:30:23 +0000 |
commit | 939757aafeb9c266dda37657ee5f7a73ffd35ae2 (patch) | |
tree | 9d665dea109822a44a9b6f634e8f09bd2e4b5194 /drivers/leds/Kconfig | |
parent | 599b92fd0efa8b7c43e7f58c9dd0f7951f7cbf09 (diff) | |
download | linux-stable-939757aafeb9c266dda37657ee5f7a73ffd35ae2.tar.gz linux-stable-939757aafeb9c266dda37657ee5f7a73ffd35ae2.tar.bz2 linux-stable-939757aafeb9c266dda37657ee5f7a73ffd35ae2.zip |
leds: Add LED1202 I2C driver
The output current can be adjusted separately for each channel by 8-bit
analog (current sink input) and 12-bit digital (PWM) dimming control. The
LED1202 implements 12 low-side current generators with independent dimming
control.
Internal volatile memory allows the user to store up to 8 different patterns,
each pattern is a particular output configuration in terms of PWM
duty-cycle (on 4096 steps). Analog dimming (on 256 steps) is per channel but
common to all patterns. Each device tree LED node will have a corresponding
entry in /sys/class/leds with the label name. The brightness property
corresponds to the per channel analog dimming, while the patterns[1-8] to the
PWM dimming control.
Signed-off-by: Vicentiu Galanopulo <vicentiu.galanopulo@remote-tech.co.uk>
Link: https://lore.kernel.org/r/20241218183401.41687-4-vicentiu.galanopulo@remote-tech.co.uk
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 3bf51a4e01d7..83bce94e8917 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -942,6 +942,16 @@ config LEDS_LM36274 Say Y to enable the LM36274 LED driver for TI LMU devices. This supports the LED device LM36274. +config LEDS_ST1202 + tristate "LED Support for STMicroelectronics LED1202 I2C chips" + depends on LEDS_CLASS + depends on I2C + depends on OF + select LEDS_TRIGGERS + help + Say Y to enable support for LEDs connected to LED1202 + LED driver chips accessed via the I2C bus. + config LEDS_TPS6105X tristate "LED support for TI TPS6105X" depends on LEDS_CLASS |