diff options
author | Martin Kurbanov <mmkurbanov@sberdevices.ru> | 2023-05-19 15:04:03 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-06-01 20:46:35 +0200 |
commit | 36a87f371b7a1b69584a40c873c0b62dc87d3f80 (patch) | |
tree | c6e7bc8bda154561124289279998a9f16d402ec3 /drivers/leds/Kconfig | |
parent | led: qcom-lpg: Fix resource leaks in for_each_available_child_of_node() loops (diff) | |
download | linux-36a87f371b7a1b69584a40c873c0b62dc87d3f80.tar.xz linux-36a87f371b7a1b69584a40c873c0b62dc87d3f80.zip |
leds: Add AW20xx driver
This commit adds support for AWINIC AW20036/AW20054/AW20072 LED driver.
This driver supports following AW200XX features:
- Individual 64-level DIM currents
Signed-off-by: Martin Kurbanov <mmkurbanov@sberdevices.ru>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230519130403.212479-3-mmkurbanov@sberdevices.ru
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 83c3cff9fa08..6046dfeca16f 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -94,6 +94,19 @@ config LEDS_ARIEL Say Y to if your machine is a Dell Wyse 3020 thin client. +config LEDS_AW200XX + tristate "LED support for Awinic AW20036/AW20054/AW20072" + depends on LEDS_CLASS + depends on I2C + help + This option enables support for the AW20036/AW20054/AW20072 LED driver. + It is a 3x12/6x9/6x12 matrix LED driver programmed via + an I2C interface, up to 36/54/72 LEDs or 12/18/24 RGBs, + 3 pattern controllers for auto breathing or group dimming control. + + To compile this driver as a module, choose M here: the module + will be called leds-aw200xx. + config LEDS_AW2013 tristate "LED support for Awinic AW2013" depends on LEDS_CLASS && I2C && OF |