summaryrefslogtreecommitdiffstats
path: root/arch/avr32/configs
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2007-07-08 11:49:53 +0100
committerRichard Purdie <rpurdie@rpsys.net>2007-07-16 01:15:51 +0100
commitf9f451d9cac24b9bd49947d1c6971f3d689381fa (patch)
treea6bcb371f5d9df816860083eecb06050d5e9dff8 /arch/avr32/configs
parente3986f6380558b84fef1e7ce7a29fed5bb090721 (diff)
downloadlinux-f9f451d9cac24b9bd49947d1c6971f3d689381fa.tar.gz
leds: leds-gpio for ngw100
Add GPIO leds to the NGW100 platform and its defconfig. Access through /sys/class/leds/{a,b,sys}/* files; one defaults to a heartbeat. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'arch/avr32/configs')
-rw-r--r--arch/avr32/configs/atngw100_defconfig16
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/avr32/configs/atngw100_defconfig b/arch/avr32/configs/atngw100_defconfig
index 49493ad..b799a68 100644
--- a/arch/avr32/configs/atngw100_defconfig
+++ b/arch/avr32/configs/atngw100_defconfig
@@ -712,7 +712,21 @@ CONFIG_SPI_ATMEL=y
#
# LED devices
#
-# CONFIG_NEW_LEDS is not set
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+
+#
+# LED drivers
+#
+CONFIG_LEDS_GPIO=y
+
+#
+# LED Triggers
+#
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_TIMER=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+
#
# LED drivers