forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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,6 @@
6364
6465 config LEDS_TRIGGER_CPU
6566 bool "LED CPU Trigger"
66
- depends on !PREEMPT_RT_BASE
6767 help
6868 This allows LEDs to be controlled by active CPUs. This shows
6969 the active CPUs across an array of LEDs so you can see which
....@@ -130,4 +130,18 @@
130130 This allows LEDs to be controlled by network device activity.
131131 If unsure, say Y.
132132
133
+config LEDS_TRIGGER_PATTERN
134
+ tristate "LED Pattern Trigger"
135
+ help
136
+ This allows LEDs to be controlled by a software or hardware pattern
137
+ which is a series of tuples, of brightness and duration (ms).
138
+ If unsure, say N
139
+
140
+config LEDS_TRIGGER_AUDIO
141
+ tristate "Audio Mute LED Trigger"
142
+ help
143
+ This allows LEDs to be controlled by audio drivers for following
144
+ the audio mute and mic-mute changes.
145
+ If unsure, say N
146
+
133147 endif # LEDS_TRIGGERS