diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2007-07-08 11:49:53 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-07-16 01:15:51 +0100 |
commit | f9f451d9cac24b9bd49947d1c6971f3d689381fa (patch) | |
tree | a6bcb371f5d9df816860083eecb06050d5e9dff8 /arch/avr32/configs | |
parent | e3986f6380558b84fef1e7ce7a29fed5bb090721 (diff) |
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_defconfig | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/avr32/configs/atngw100_defconfig b/arch/avr32/configs/atngw100_defconfig index 49493ad3b5a9..b799a68ffd97 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 |