zephyr/drivers/led_strip/Kconfig.lpd880x
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

20 lines
759 B
Plaintext

# Copyright (c) 2017 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config LPD880X_STRIP
bool "LPD880x SPI LED strip driver"
default y
depends on DT_HAS_GREELED_LPD8803_ENABLED || DT_HAS_GREELED_LPD8806_ENABLED
select SPI if $(dt_compat_on_bus,$(DT_COMPAT_GREELED_LPD8803),spi) \
|| $(dt_compat_on_bus,$(DT_COMPAT_GREELED_LPD8806),spi)
help
Enable LED strip driver for daisy chains of LPD880x
(LPD8803, LPD8806, or compatible) devices.
Each LPD880x LED driver chip has some output channels
(3 channels for LPD8803, 6 for LPD8806), whose PWM
duty cycle can be set at 7 bit resolution via a
reduced SPI interface (MOSI and CLK lines only).
Each chip also includes data and clock out pins for
daisy chaining LED strips.