xref: /linux/drivers/leds/Kconfig (revision 6e8331ac6973435b1e7604c30f2ad394035b46e1)
1
2menu "LED devices"
3
4config NEW_LEDS
5	bool "LED Support"
6	help
7	  Say Y to enable Linux LED support.  This allows control of supported
8	  LEDs from both userspace and optionally, by kernel events (triggers).
9
10	  This is not related to standard keyboard LEDs which are controlled
11	  via the input system.
12
13config LEDS_CLASS
14	tristate "LED Class Support"
15	depends NEW_LEDS
16	help
17	  This option enables the led sysfs class in /sys/class/leds.  You'll
18	  need this to do anything useful with LEDs.  If unsure, say N.
19
20comment "LED drivers"
21
22config LEDS_CORGI
23	tristate "LED Support for the Sharp SL-C7x0 series"
24	depends LEDS_CLASS && PXA_SHARP_C7xx
25	help
26	  This option enables support for the LEDs on Sharp Zaurus
27	  SL-C7x0 series (C700, C750, C760, C860).
28
29config LEDS_LOCOMO
30	tristate "LED Support for Locomo device"
31	depends LEDS_CLASS && SHARP_LOCOMO
32	help
33	  This option enables support for the LEDs on Sharp Locomo.
34	  Zaurus models SL-5500 and SL-5600.
35
36config LEDS_SPITZ
37	tristate "LED Support for the Sharp SL-Cxx00 series"
38	depends LEDS_CLASS && PXA_SHARP_Cxx00
39	help
40	  This option enables support for the LEDs on Sharp Zaurus
41	  SL-Cxx00 series (C1000, C3000, C3100).
42
43config LEDS_IXP4XX
44	tristate "LED Support for GPIO connected LEDs on IXP4XX processors"
45	depends LEDS_CLASS && ARCH_IXP4XX
46	help
47	  This option enables support for the LEDs connected to GPIO
48	  outputs of the Intel IXP4XX processors.  To be useful the
49	  particular board must have LEDs and they must be connected
50	  to the GPIO lines.  If unsure, say Y.
51
52config LEDS_TOSA
53	tristate "LED Support for the Sharp SL-6000 series"
54	depends LEDS_CLASS && PXA_SHARPSL
55	help
56	  This option enables support for the LEDs on Sharp Zaurus
57	  SL-6000 series.
58
59config LEDS_S3C24XX
60	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
61	depends on LEDS_CLASS && ARCH_S3C2410
62	help
63	  This option enables support for LEDs connected to GPIO lines
64	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
65
66config LEDS_AMS_DELTA
67	tristate "LED Support for the Amstrad Delta (E3)"
68	depends LEDS_CLASS && MACH_AMS_DELTA
69	help
70	  This option enables support for the LEDs on Amstrad Delta (E3).
71
72config LEDS_NET48XX
73	tristate "LED Support for Soekris net48xx series Error LED"
74	depends on LEDS_CLASS && SCx200_GPIO
75	help
76	  This option enables support for the Soekris net4801 and net4826 error
77	  LED.
78
79comment "LED Triggers"
80
81config LEDS_TRIGGERS
82	bool "LED Trigger support"
83	depends NEW_LEDS
84	help
85	  This option enables trigger support for the leds class.
86	  These triggers allow kernel events to drive the LEDs and can
87	  be configured via sysfs. If unsure, say Y.
88
89config LEDS_TRIGGER_TIMER
90	tristate "LED Timer Trigger"
91	depends LEDS_TRIGGERS
92	help
93	  This allows LEDs to be controlled by a programmable timer
94	  via sysfs. If unsure, say Y.
95
96config LEDS_TRIGGER_IDE_DISK
97	bool "LED IDE Disk Trigger"
98	depends LEDS_TRIGGERS && BLK_DEV_IDEDISK
99	help
100	  This allows LEDs to be controlled by IDE disk activity.
101	  If unsure, say Y.
102
103config LEDS_TRIGGER_HEARTBEAT
104	tristate "LED Heartbeat Trigger"
105	depends LEDS_TRIGGERS
106	help
107	  This allows LEDs to be controlled by a CPU load average.
108	  The flash frequency is a hyperbolic function of the 1-minute
109	  load average.
110	  If unsure, say Y.
111
112endmenu
113
114