hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/leds/trigger/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menuconfig LEDS_TRIGGERS
23 bool "LED Trigger support"
34 depends on LEDS_CLASS
....@@ -14,7 +15,7 @@
1415 This allows LEDs to be controlled by a programmable timer
1516 via sysfs. Some LED hardware can be programmed to start
1617 blinking the LED without any further software interaction.
17
- For more details read Documentation/leds/leds-class.txt.
18
+ For more details read Documentation/leds/leds-class.rst.
1819
1920 If unsure, say Y.
2021
....@@ -63,7 +64,7 @@
6364
6465 config LEDS_TRIGGER_CPU
6566 bool "LED CPU Trigger"
66
- depends on !PREEMPT_RT_BASE
67
+ depends on !PREEMPT_RT
6768 help
6869 This allows LEDs to be controlled by active CPUs. This shows
6970 the active CPUs across an array of LEDs so you can see which
....@@ -130,4 +131,18 @@
130131 This allows LEDs to be controlled by network device activity.
131132 If unsure, say Y.
132133
134
+config LEDS_TRIGGER_PATTERN
135
+ tristate "LED Pattern Trigger"
136
+ help
137
+ This allows LEDs to be controlled by a software or hardware pattern
138
+ which is a series of tuples, of brightness and duration (ms).
139
+ If unsure, say N
140
+
141
+config LEDS_TRIGGER_AUDIO
142
+ tristate "Audio Mute LED Trigger"
143
+ help
144
+ This allows LEDs to be controlled by audio drivers for following
145
+ the audio mute and mic-mute changes.
146
+ If unsure, say N
147
+
133148 endif # LEDS_TRIGGERS