summaryrefslogtreecommitdiff
path: root/target/linux/config
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2016-09-21 18:46:58 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-22 17:31:08 +0200
commit64f096935947315ce6fd800aeae527f51048fa91 (patch)
treeee1a4d9f8f74460d91aa5c814b72c780bd1583ae /target/linux/config
parent6e44f102241565a4ada14edb6ff006979b221a80 (diff)
add LED support for AVR32 Grasshopper board
Diffstat (limited to 'target/linux/config')
-rw-r--r--target/linux/config/Config.in.leds16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.leds b/target/linux/config/Config.in.leds
index 4c143a563..1a74a5ad7 100644
--- a/target/linux/config/Config.in.leds
+++ b/target/linux/config/Config.in.leds
@@ -12,6 +12,12 @@ config ADK_KERNEL_LEDS_TRIGGERS
bool
select ADK_KERNEL_NEW_LEDS
+config ADK_KERNEL_LEDS_GPIO
+ bool
+ select ADK_KERNEL_NEW_LEDS
+ select ADK_KERNEL_LEDS_CLASS
+ select ADK_KERNEL_GPIOLIB
+
config ADK_KERNEL_LEDS_CLASS
bool
@@ -39,6 +45,16 @@ config ADK_KERNEL_LEDS_ALIX2
default y if ADK_TARGET_MODEL_PCENGINES_ALIX2D
default n
+config ADK_KERNEL_BOARD_GRASSHOPPER_LEDS
+ bool "LED suppport for AVR32 Grasshopper boards"
+ select ADK_KERNEL_LEDS_CLASS
+ select ADK_KERNEL_LEDS_GPIO
+ select ADK_KERNEL_LEDS_TRIGGERS
+ select ADK_KERNEL_LEDS_TRIGGER_HEARTBEAT
+ depends on ADK_TARGET_SYSTEM_GRASSHOPPER
+ default y if ADK_TARGET_SYSTEM_GRASSHOPPER
+ default n
+
config ADK_KERNEL_LEDS_TRIGGER_TIMER
tristate "LED Timer trigger"
select ADK_KERNEL_LEDS_TRIGGERS