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:
TOKITA Hiroshi 2024-09-20 09:25:34 +09:00 committed by Fabio Baltieri
parent 295078e8ec
commit 945f9291c4
2 changed files with 2 additions and 1 deletions

View File

@ -5,5 +5,7 @@
config TLC5971_STRIP
bool "TLC5971 (and compatible) LED strip driver"
depends on SPI
depends on DT_HAS_TI_TLC5971_ENABLED
default y
help
Enable LED strip driver for daisy chains of TLC5971-ish devices

View File

@ -4,4 +4,3 @@ CONFIG_TEST_USERSPACE=y
CONFIG_GPIO=y
CONFIG_SPI=y
CONFIG_LED_STRIP=y
CONFIG_TLC5971_STRIP=y