diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2007-07-08 12:49:53 +0200 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-07-16 02:15:51 +0200 |
commit | f9f451d9cac24b9bd49947d1c6971f3d689381fa (patch) | |
tree | a6bcb371f5d9df816860083eecb06050d5e9dff8 /arch/avr32/configs | |
parent | leds: Add warning printks in error paths (diff) | |
download | linux-f9f451d9cac24b9bd49947d1c6971f3d689381fa.tar.xz linux-f9f451d9cac24b9bd49947d1c6971f3d689381fa.zip |
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 |