xref: /openbmc/linux/drivers/leds/Kconfig (revision 4f3865fb)
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
66comment "LED Triggers"
67
68config LEDS_TRIGGERS
69	bool "LED Trigger support"
70	depends NEW_LEDS
71	help
72	  This option enables trigger support for the leds class.
73	  These triggers allow kernel events to drive the LEDs and can
74	  be configured via sysfs. If unsure, say Y.
75
76config LEDS_TRIGGER_TIMER
77	tristate "LED Timer Trigger"
78	depends LEDS_TRIGGERS
79	help
80	  This allows LEDs to be controlled by a programmable timer
81	  via sysfs. If unsure, say Y.
82
83config LEDS_TRIGGER_IDE_DISK
84	bool "LED IDE Disk Trigger"
85	depends LEDS_TRIGGERS && BLK_DEV_IDEDISK
86	help
87	  This allows LEDs to be controlled by IDE disk activity.
88	  If unsure, say Y.
89
90endmenu
91
92