zephyr/drivers/led_strip/Kconfig.lpd880x
Ulf Magnusson 677f1e6db9 kconfig: Turn pointless/confusing 'menuconfig's into 'config's
Defining a symbol with 'menuconfig' just tells the menuconfig to display
any dependent symbols that immediately follow it in a separate menu.
'menuconfig' has no effect on symbol values.

Making a symbol that doesn't have any dependent symbols after it a
'menuconfig' should be avoided, because then you end up with an empty
menu, which is shown as e.g.

    [*] Enable foo ---

This is how it would be shown if there were children but they all
happened to be invisible as well.

With a regular 'config', it turns into

    [*] Enable foo

Change all pointless 'menuconfig's to 'config's.

See the section on 'menuconfig' on the Kconfig - Tips and Best Practices
page as well.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-10-22 13:53:06 -05:00

20 lines
561 B
Plaintext

#
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
config LPD880X_STRIP
bool "Enable LPD880x SPI LED strip driver"
depends on 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.