Skip to content

drivers/leds: Add support for KTD2052 #16217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions drivers/leds/Kconfig
Original file line number Diff line number Diff line change
@@ -57,6 +57,13 @@ config LEDS_APA102
---help---
Enable support for the APA102 LED Strip driver.

config KTD2052
bool "KTD2052 I2C LED Driver"
default n
select I2C
---help---
Enable support for the KTD2052 LED driver

config LEDS_MAX7219
bool "MAX7219 Numeric Display"
default n
6 changes: 6 additions & 0 deletions drivers/leds/Make.defs
Original file line number Diff line number Diff line change
@@ -37,6 +37,12 @@ ifeq ($(CONFIG_LEDS_APA102),y)
LEDVPATH = :leds
endif

ifeq ($(CONFIG_KTD2052),y)
CSRCS += ktd2052.c
LEDDEPATH = --dep-path leds
LEDVPATH = :leds
endif

ifeq ($(CONFIG_LEDS_MAX7219),y)
CSRCS += max7219.c
LEDDEPATH = --dep-path leds
Loading
Oops, something went wrong.
Loading
Oops, something went wrong.