diff --git a/drivers/led/Kconfig.gpio b/drivers/led/Kconfig.gpio index 72507a6831f..7288daae29e 100644 --- a/drivers/led/Kconfig.gpio +++ b/drivers/led/Kconfig.gpio @@ -3,6 +3,7 @@ config LED_GPIO bool "GPIO LED driver" - depends on GPIO && $(dt_compat_enabled,gpio-leds) + default y + depends on GPIO && DT_HAS_GPIO_LEDS_ENABLED help Enable driver for GPIO LEDs. diff --git a/drivers/led/Kconfig.ht16k33 b/drivers/led/Kconfig.ht16k33 index 5edd1efee86..6fd72d53837 100644 --- a/drivers/led/Kconfig.ht16k33 +++ b/drivers/led/Kconfig.ht16k33 @@ -3,7 +3,9 @@ menuconfig HT16K33 bool "HT16K33 LED driver" - depends on I2C + default y + depends on DT_HAS_HOLTEK_HT16K33_ENABLED + select I2C help Enable LED driver for HT16K33. diff --git a/drivers/led/Kconfig.lp3943 b/drivers/led/Kconfig.lp3943 index 7aed5749838..736099aafe9 100644 --- a/drivers/led/Kconfig.lp3943 +++ b/drivers/led/Kconfig.lp3943 @@ -3,7 +3,9 @@ config LP3943 bool "LP3943 LED driver" - depends on I2C + default y + depends on DT_HAS_TI_LP3943_ENABLED + select I2C help Enable LED driver for LP3943. diff --git a/drivers/led/Kconfig.lp503x b/drivers/led/Kconfig.lp503x index de1d70bb268..70d272c2465 100644 --- a/drivers/led/Kconfig.lp503x +++ b/drivers/led/Kconfig.lp503x @@ -3,7 +3,9 @@ config LP503X bool "LP503X LED controller" - depends on I2C + default y + depends on DT_HAS_TI_LP503X_ENABLED + select I2C help Enable driver for the Texas Instruments LP5030 and LP5036 I2C LED controllers. They are respectively supporting up to 10 and 12 LEDs. diff --git a/drivers/led/Kconfig.lp5562 b/drivers/led/Kconfig.lp5562 index cb3ac11747a..ee11f84dbd4 100644 --- a/drivers/led/Kconfig.lp5562 +++ b/drivers/led/Kconfig.lp5562 @@ -3,7 +3,9 @@ config LP5562 bool "LP5562 LED driver" - depends on I2C + default y + depends on DT_HAS_TI_LP5562_ENABLED + select I2C help Enable LED driver for LP5562. diff --git a/drivers/led/Kconfig.pca9633 b/drivers/led/Kconfig.pca9633 index 0ca0fe9e418..e65b9686007 100644 --- a/drivers/led/Kconfig.pca9633 +++ b/drivers/led/Kconfig.pca9633 @@ -3,7 +3,9 @@ config PCA9633 bool "PCA9633 LED driver" - depends on I2C + default y + depends on DT_HAS_NXP_PCA9633_ENABLED + select I2C help Enable LED driver for PCA9633. diff --git a/drivers/led/Kconfig.pwm b/drivers/led/Kconfig.pwm index 3a6c0067014..8247df198b4 100644 --- a/drivers/led/Kconfig.pwm +++ b/drivers/led/Kconfig.pwm @@ -3,6 +3,7 @@ config LED_PWM bool "PWM LED driver" - depends on PWM + default y + depends on PWM && DT_HAS_PWM_LEDS_ENABLED help Enable driver for PWM LEDs. diff --git a/drivers/led/Kconfig.tlc59108 b/drivers/led/Kconfig.tlc59108 index 936c5a357e0..4bd5d976c3f 100644 --- a/drivers/led/Kconfig.tlc59108 +++ b/drivers/led/Kconfig.tlc59108 @@ -3,6 +3,8 @@ config TLC59108 bool "TLC59108 LED driver" - depends on I2C + default y + depends on DT_HAS_TI_TLC59108_ENABLED + select I2C help Enable LED driver for TLC59108.