summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.leds
blob: 513f7955202a101d39c2889f08ad2325557e83c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

config ADK_LINUX_KERNEL_NEW_LEDS
	bool

config ADK_LINUX_KERNEL_LEDS_CLASS
	bool
	select ADK_LINUX_KERNEL_NEW_LEDS

config ADK_LINUX_KERNEL_LEDS_TRIGGERS
	bool
	select ADK_LINUX_KERNEL_NEW_LEDS

config ADK_LINUX_KERNEL_LEDS_GPIO
	bool
	select ADK_LINUX_KERNEL_NEW_LEDS
	select ADK_LINUX_KERNEL_LEDS_CLASS
	select ADK_LINUX_KERNEL_GPIOLIB

config ADK_LINUX_KERNEL_LEDS_CLASS
	bool

menu "LEDS driver support"
depends on ADK_TARGET_WITH_LEDS

config ADK_LINUX_KERNEL_LEDS_MIKROTIK_RB532
	tristate "LED suppport for RB532"
	select ADK_LINUX_KERNEL_LEDS_CLASS
	depends on ADK_TARGET_SYSTEM_MIKROTIK_RB532
	default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
	default n

config ADK_LINUX_KERNEL_LEDS_WRAP
	tristate "LED suppport for WRAP"
	select ADK_LINUX_KERNEL_LEDS_CLASS
	depends on ADK_TARGET_SYSTEM_PCENGINES_WRAP
	default y if ADK_TARGET_SYSTEM_PCENGINES_WRAP
	default n

config ADK_LINUX_KERNEL_LEDS_ALIX2
	tristate "LED suppport for ALIX2/ALIX3"
	select ADK_LINUX_KERNEL_LEDS_CLASS
	depends on ADK_TARGET_MODEL_PCENGINES_ALIX2D
	default y if ADK_TARGET_MODEL_PCENGINES_ALIX2D
	default n

config ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_LEDS
	bool "LED suppport for AVR32 Grasshopper boards"
	select ADK_LINUX_KERNEL_LEDS_CLASS
	select ADK_LINUX_KERNEL_LEDS_GPIO
	select ADK_LINUX_KERNEL_LEDS_TRIGGERS
	select ADK_LINUX_KERNEL_LEDS_TRIGGER_HEARTBEAT
	depends on ADK_TARGET_SYSTEM_GRASSHOPPER
	default y if ADK_TARGET_SYSTEM_GRASSHOPPER
	default n

config ADK_LINUX_KERNEL_LEDS_TRIGGER_TIMER
	tristate "LED Timer trigger"
	select ADK_LINUX_KERNEL_LEDS_TRIGGERS
	select ADK_LINUX_KERNEL_LEDS_CLASS
	default n

config ADK_LINUX_KERNEL_LEDS_TRIGGER_HEARTBEAT
	tristate "LED Heartbeat trigger"
	select ADK_LINUX_KERNEL_LEDS_TRIGGERS
	select ADK_LINUX_KERNEL_LEDS_CLASS
	default n

config ADK_LINUX_KERNEL_LEDS_TRIGGER_DEFAULT_ON
	tristate "LED Default On trigger"
	select ADK_LINUX_KERNEL_LEDS_TRIGGERS
	select ADK_LINUX_KERNEL_LEDS_CLASS
	default n

config ADK_LINUX_KERNEL_NETFILTER_XT_TARGET_LED
	tristate "LED IPTables trigger"
	select ADK_LINUX_KERNEL_LEDS_TRIGGERS
	select ADK_LINUX_KERNEL_LEDS_CLASS
	select ADK_PACKAGE_IPTABLES
	default n

endmenu