forked from ev3dev/lego-linux-drivers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
153 lines (125 loc) · 3.79 KB
/
Kconfig
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# LEGO device drivers
menuconfig LEGO_DRIVERS
tristate "LEGO Device Drivers"
help
Enables support LEGO MINDSTORMS and LEGO WeDo devices
if LEGO_DRIVERS
menuconfig LEGOEV3_DRIVERS
tristate "LEGO MINDSTORMS EV3 support"
depends on MACH_DAVINCI_LEGOEV3
default y
help
This enables platform specific drivers for the LEGO MINDSTORMS EV3
hardware.
if LEGOEV3_DRIVERS
config LEGOEV3_I2C
tristate "I2C driver for LEGO Mindstorms EV3"
depends on GPIOLIB && LEGOEV3_FIQ
help
This is a GPIO bit-banging driver for connecting to LEGO Mindstorms
I2C sensors. It is not quite standard I2C.
config LEGOEV3_ANALOG
tristate "Analog device support"
default y
help
Select Y to enable the EV3's built-in analog/digital converter.
config LEGOEV3_BATTERY
tristate "LEGO MINDSTORMS EV3 battery driver"
depends on LEGOEV3_ANALOG
help
Say Y here to enable the driver for the LEGO MINDSTORMS EV3 battery.
config LEGOEV3_BLUETOOTH
tristate "On-board Bluetooth"
default y
depends on PWM_TIECAP && GPIOLIB
help
Select Y to enable on-board bluetooth on the LEGO MINDSTORMS EV3.
config LEGOEV3_DEV_PORTS
tristate "Support for devices connected to the EV3 ports"
default y
depends on LEGOEV3_ANALOG && GPIOLIB && PWM_TIECAP && PWM_TIEHRPWM
help
Select Y to provide support for devices that plug into the input
and output ports of the EV3.
config LEGOEV3_SOUND
tristate "LEGO Mindstorms EV3 speaker driver"
depends on MACH_DAVINCI_LEGOEV3 && PWM_TIEHRPWM && LEGOEV3_FIQ
select SND_PCM
help
Say Y here if you want to use the LEGO Mindstorms EV3 speaker.
To compile this driver as a module, choose M here: the module will be
called snd-legoev3.
config LEGOEV3_MOTORS
tristate "EV3 motor support"
default y
depends on LEGOEV3_DEV_PORTS
help
Select Y to enable support for EV3 motors. Provides a common device
class interface for LEGO EV3 and NXT compatible motors.
endif #LEGOEV3_DRIVERS
config LEGO_PORTS
tristate "LEGO port support"
default y
help
Select Y to provide support for devices that provide input and/or
output port functionality that is compatible with LEGO MINDSTORMS,
LEGO WeDo and LEGO Power Functions sensors and motors.
config LEGO_SENSORS
tristate "Mindstorms sensors support"
default y
help
Select Y to enable support for Mindstorms sensors. Provides a common
device class interface for most types of sensors (UART sensors,
LEGO-approved I2C sensors and analog sensors).
config NXT_ANALOG_SENSORS
tristate "NXT analog sensor support"
default y
depends on LEGO_SENSORS
help
Select Y to enable support for NXT analog sensors.
config EV3_ANALOG_SENSORS
tristate "EV3 analog sensor support"
default y
depends on LEGO_SENSORS
help
Select Y to enable support for EV3 analog sensors.
config NXT_I2C_SENSORS
tristate "I2C sensor support"
default y
depends on LEGO_SENSORS
help
Select Y to enable support for NXT I2C sensors.
config EV3_UART_SENSORS
tristate "EV3 UART sensor support"
default y
depends on LEGO_SENSORS
help
Select Y to enable support for EV3 UART sensors.
config LEGO_TACHO_MOTORS
tristate "tacho motor support"
default y
help
Select Y to enable support for tacho motors.
config LEGO_SERVO_MOTORS
tristate "Servo motor support"
default y
help
Select Y to enable support for servo motors.
config LEGO_DC_MOTORS
tristate "DC motor support"
default y
help
Select Y to enable support for DC motors (includes LEGO Power
Functions motors).
config LEGO_USER_DEVICES
tristate "User-defined device support"
default y
depends on LEGO_SENSORS && CONFIGFS_FS
help
Select Y to enable support for user-defined devices.
source "drivers/lego/wedo/Kconfig"
source "drivers/lego/brickpi/Kconfig"
source "drivers/lego/pistorms/Kconfig"
source "drivers/lego/evb/Kconfig"
source "drivers/lego/linux/Kconfig"
endif #LEGO_DRIVERS