xref: /openbmc/linux/drivers/leds/Kconfig (revision b454cc66)
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 on 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 on 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 on 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 on 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 on 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 on 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 on 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
79config LEDS_WRAP
80	tristate "LED Support for the WRAP series LEDs"
81	depends on LEDS_CLASS && SCx200_GPIO
82	help
83	  This option enables support for the PCEngines WRAP programmable LEDs.
84
85comment "LED Triggers"
86
87config LEDS_TRIGGERS
88	bool "LED Trigger support"
89	depends on NEW_LEDS
90	help
91	  This option enables trigger support for the leds class.
92	  These triggers allow kernel events to drive the LEDs and can
93	  be configured via sysfs. If unsure, say Y.
94
95config LEDS_TRIGGER_TIMER
96	tristate "LED Timer Trigger"
97	depends on LEDS_TRIGGERS
98	help
99	  This allows LEDs to be controlled by a programmable timer
100	  via sysfs. If unsure, say Y.
101
102config LEDS_TRIGGER_IDE_DISK
103	bool "LED IDE Disk Trigger"
104	depends on LEDS_TRIGGERS && BLK_DEV_IDEDISK
105	help
106	  This allows LEDs to be controlled by IDE disk activity.
107	  If unsure, say Y.
108
109config LEDS_TRIGGER_HEARTBEAT
110	tristate "LED Heartbeat Trigger"
111	depends on LEDS_TRIGGERS
112	help
113	  This allows LEDs to be controlled by a CPU load average.
114	  The flash frequency is a hyperbolic function of the 1-minute
115	  load average.
116	  If unsure, say Y.
117
118endmenu
119
120