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