Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

leds: lgm: Improve Kconfig help

Remove unnecessary Kconfig symbol LEDS_BLINK
Improve Kconfig help text to make it more useful.

Signed-off-by: Rahul Tanwar <rtanwar@maxlinear.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>

authored by

Rahul Tanwar and committed by
Pavel Machek
a7ed7150 34731ed1

+21 -24
+2 -3
drivers/leds/Kconfig
··· 928 928 This option enables support for the Power Button LED of 929 929 Acer Iconia Tab A500. 930 930 931 + source "drivers/leds/blink/Kconfig" 932 + 931 933 comment "Flash and Torch LED drivers" 932 934 source "drivers/leds/flash/Kconfig" 933 935 934 936 comment "LED Triggers" 935 937 source "drivers/leds/trigger/Kconfig" 936 - 937 - comment "LED Blink" 938 - source "drivers/leds/blink/Kconfig" 939 938 940 939 endif # NEW_LEDS
+1 -1
drivers/leds/Makefile
··· 110 110 obj-$(CONFIG_LEDS_TRIGGERS) += trigger/ 111 111 112 112 # LED Blink 113 - obj-$(CONFIG_LEDS_BLINK) += blink/ 113 + obj-y += blink/
+17 -19
drivers/leds/blink/Kconfig
··· 1 - menuconfig LEDS_BLINK 2 - bool "LED Blink support" 3 - depends on LEDS_CLASS 4 - help 5 - This option enables blink support for the leds class. 6 - If unsure, say Y. 1 + config LEDS_LGM 2 + tristate "LED support for LGM SoC series" 3 + depends on GPIOLIB 4 + depends on LEDS_CLASS 5 + depends on MFD_SYSCON 6 + depends on OF 7 + help 8 + This option enables support for LEDs connected to GPIO lines on 9 + Lightning Mountain (LGM) SoC. Lightning Mountain is a AnyWAN 10 + gateway-on-a-chip SoC to be shipped on mid and high end home 11 + gateways and routers. 7 12 8 - if LEDS_BLINK 13 + These LEDs are driven by a Serial Shift Output (SSO) controller. 14 + The driver supports hardware blinking and the LEDs can be configured 15 + to be triggered by software/CPU or by hardware. 9 16 10 - config LEDS_BLINK_LGM 11 - tristate "LED support for Intel LGM SoC series" 12 - depends on GPIOLIB 13 - depends on LEDS_CLASS 14 - depends on MFD_SYSCON 15 - depends on OF 16 - help 17 - Parallel to serial conversion, which is also called SSO controller, 18 - can drive external shift register for LED outputs. 19 - This enables LED support for Serial Shift Output controller(SSO). 20 - 21 - endif # LEDS_BLINK 17 + Say 'Y' here if you are working on LGM SoC based platform. Otherwise, 18 + say 'N'. To compile this driver as a module, choose M here: the module 19 + will be called leds-lgm-sso.
+1 -1
drivers/leds/blink/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - obj-$(CONFIG_LEDS_BLINK_LGM) += leds-lgm-sso.o 2 + obj-$(CONFIG_LEDS_LGM) += leds-lgm-sso.o