drivers: led_strip: tlc5971: Enable when the dt-node exists
The TLC5971_STRIP config enables if the "ti,tlc5971" node exists. Also, removing the setting that explicitly enables in the `tests/drivers/build_all/led_strip` test. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
295078e8ec
commit
945f9291c4
2 changed files with 2 additions and 1 deletions
|
|
@ -5,5 +5,7 @@
|
||||||
config TLC5971_STRIP
|
config TLC5971_STRIP
|
||||||
bool "TLC5971 (and compatible) LED strip driver"
|
bool "TLC5971 (and compatible) LED strip driver"
|
||||||
depends on SPI
|
depends on SPI
|
||||||
|
depends on DT_HAS_TI_TLC5971_ENABLED
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Enable LED strip driver for daisy chains of TLC5971-ish devices
|
Enable LED strip driver for daisy chains of TLC5971-ish devices
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,3 @@ CONFIG_TEST_USERSPACE=y
|
||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
CONFIG_SPI=y
|
CONFIG_SPI=y
|
||||||
CONFIG_LED_STRIP=y
|
CONFIG_LED_STRIP=y
|
||||||
CONFIG_TLC5971_STRIP=y
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue