Skip to content

Commit 59ea3c9

Browse files
TravMuravpavelmachek
authored andcommitted
leds: add aw2013 driver
This commit adds support for AWINIC AW2013 3-channel LED driver. The chip supports 3 PWM channels and is controlled with I2C. Signed-off-by: Nikita Travkin <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
1 parent 9f6b72e commit 59ea3c9

File tree

3 files changed

+447
-0
lines changed

3 files changed

+447
-0
lines changed

drivers/leds/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,16 @@ config LEDS_AS3645A
103103
controller. V4L2 flash API is provided as well if
104104
CONFIG_V4L2_FLASH_API is enabled.
105105

106+
config LEDS_AW2013
107+
tristate "LED support for Awinic AW2013"
108+
depends on LEDS_CLASS && I2C && OF
109+
help
110+
This option enables support for the AW2013 3-channel
111+
LED driver.
112+
113+
To compile this driver as a module, choose M here: the module
114+
will be called leds-aw2013.
115+
106116
config LEDS_BCM6328
107117
tristate "LED Support for Broadcom BCM6328"
108118
depends on LEDS_CLASS

drivers/leds/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ obj-$(CONFIG_LEDS_APU) += leds-apu.o
1515
obj-$(CONFIG_LEDS_ARIEL) += leds-ariel.o
1616
obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o
1717
obj-$(CONFIG_LEDS_ASIC3) += leds-asic3.o
18+
obj-$(CONFIG_LEDS_AW2013) += leds-aw2013.o
1819
obj-$(CONFIG_LEDS_BCM6328) += leds-bcm6328.o
1920
obj-$(CONFIG_LEDS_BCM6358) += leds-bcm6358.o
2021
obj-$(CONFIG_LEDS_BD2802) += leds-bd2802.o

0 commit comments

Comments
 (0)