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