diff --git a/drivers/led_strip/Kconfig.tlc5971 b/drivers/led_strip/Kconfig.tlc5971 index a8586fa92e0..f47f64bf259 100644 --- a/drivers/led_strip/Kconfig.tlc5971 +++ b/drivers/led_strip/Kconfig.tlc5971 @@ -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 diff --git a/tests/drivers/build_all/led_strip/prj.conf b/tests/drivers/build_all/led_strip/prj.conf index ac3c9da0c81..e0f1437d391 100644 --- a/tests/drivers/build_all/led_strip/prj.conf +++ b/tests/drivers/build_all/led_strip/prj.conf @@ -4,4 +4,3 @@ CONFIG_TEST_USERSPACE=y CONFIG_GPIO=y CONFIG_SPI=y CONFIG_LED_STRIP=y -CONFIG_TLC5971_STRIP=y