zephyr/drivers/led_strip/Kconfig.apa102
TOKITA Hiroshi 7b61d1c43c drivers: led_strip: Enabling config with DT_HAS_..
Applying the modern way which is adding `default y` and
`depends on DT_HAS_...` to enable configs.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-03-20 17:20:08 -05:00

16 lines
410 B
Plaintext

#
# Copyright (c) 2018 Google LLC.
#
# SPDX-License-Identifier: Apache-2.0
#
config APA102_STRIP
bool "APA102 SPI LED strip driver"
default y
depends on DT_HAS_APA_APA102_ENABLED
select SPI if $(dt_compat_on_bus,$(DT_COMPAT_APA_APA102),spi)
select LED_STRIP_RGB_SCRATCH
help
Enable the LED strip driver for a chain of APA102 RGB LEDs.
These are sold as DotStar by Adafruit and Superled by others.