Skip to content

Commit

Permalink
leds: Add driver for Qualcomm LPG
Browse files Browse the repository at this point in the history
The Light Pulse Generator (LPG) is a PWM-block found in a wide range of
PMICs from Qualcomm. It can operate on fixed parameters or based on a
lookup-table, altering the duty cycle over time - which provides the
means for e.g. hardware assisted transitions of LED brightness.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
  • Loading branch information
andersson authored and intel-lab-lkp committed Apr 29, 2021
1 parent 9f006b7 commit 45509ba
Show file tree
Hide file tree
Showing 3 changed files with 1,292 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/leds/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,9 @@ config LEDS_ACER_A500
comment "Flash and Torch LED drivers"
source "drivers/leds/flash/Kconfig"

comment "RGB LED drivers"
source "drivers/leds/rgb/Kconfig"

comment "LED Triggers"
source "drivers/leds/trigger/Kconfig"

Expand Down
3 changes: 3 additions & 0 deletions drivers/leds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ obj-$(CONFIG_LEDS_USER) += uleds.o
# Flash and Torch LED Drivers
obj-$(CONFIG_LEDS_CLASS_FLASH) += flash/

# RGB LED Drivers
obj-$(CONFIG_LEDS_CLASS_MULTICOLOR) += rgb/

# LED Triggers
obj-$(CONFIG_LEDS_TRIGGERS) += trigger/

Expand Down
Loading

0 comments on commit 45509ba

Please sign in to comment.