aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig21
1 files changed, 20 insertions, 1 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index d9db17624f1..90d39e5803c 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -117,7 +117,26 @@ config LEDS_GPIO
117 help 117 help
118 This option enables support for the LEDs connected to GPIO 118 This option enables support for the LEDs connected to GPIO
119 outputs. To be useful the particular board must have LEDs 119 outputs. To be useful the particular board must have LEDs
120 and they must be connected to the GPIO lines. 120 and they must be connected to the GPIO lines. The LEDs must be
121 defined as platform devices and/or OpenFirmware platform devices.
122 The code to use these bindings can be selected below.
123
124config LEDS_GPIO_PLATFORM
125 bool "Platform device bindings for GPIO LEDs"
126 depends on LEDS_GPIO
127 default y
128 help
129 Let the leds-gpio driver drive LEDs which have been defined as
130 platform devices. If you don't know what this means, say yes.
131
132config LEDS_GPIO_OF
133 bool "OpenFirmware platform device bindings for GPIO LEDs"
134 depends on LEDS_GPIO && OF_DEVICE
135 default y
136 help
137 Let the leds-gpio driver drive LEDs which have been defined as
138 of_platform devices. For instance, LEDs which are listed in a "dts"
139 file.
121 140
122config LEDS_CLEVO_MAIL 141config LEDS_CLEVO_MAIL
123 tristate "Mail LED on Clevo notebook (EXPERIMENTAL)" 142 tristate "Mail LED on Clevo notebook (EXPERIMENTAL)"