aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mpu3050/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mpu3050/Kconfig')
-rw-r--r--drivers/misc/mpu3050/Kconfig65
1 files changed, 65 insertions, 0 deletions
diff --git a/drivers/misc/mpu3050/Kconfig b/drivers/misc/mpu3050/Kconfig
new file mode 100644
index 00000000000..de240fa0ad8
--- /dev/null
+++ b/drivers/misc/mpu3050/Kconfig
@@ -0,0 +1,65 @@
1
2menu "Motion Sensors Support"
3
4choice
5 tristate "Motion Processing Unit"
6 depends on I2C
7 optional
8
9config MPU_SENSORS_MPU3050
10 tristate "MPU3050"
11 help
12 If you say yes here you get support for the MPU3050 Gyroscope driver
13 This driver can also be built as a module. If so, the module
14 will be called mpu3050.
15
16config MPU_SENSORS_MPU6000
17 tristate "MPU6000"
18 help
19 If you say yes here you get support for the MPU6000 Gyroscope driver
20 This driver can also be built as a module. If so, the module
21 will be called mpu6000.
22
23endchoice
24
25choice
26 prompt "Accelerometer Type"
27 depends on MPU_SENSORS_MPU3050
28 optional
29
30config MPU_SENSORS_KXTF9
31 bool "Kionix KXTF9"
32 help
33 This enables support for the Kionix KXFT9 accelerometer
34
35endchoice
36
37choice
38 prompt "Compass Type"
39 depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
40 optional
41
42config MPU_SENSORS_AK8975
43 bool "AKM ak8975"
44 help
45 This enables support for the AKM ak8975 compass
46
47endchoice
48
49config MPU_SENSORS_TIMERIRQ
50 tristate "Timer IRQ"
51 help
52 If you say yes here you get access to the timerirq device handle which
53 can be used to select on. This can be used instead of IRQ's, sleeping,
54 or timer threads. Reading from this device returns the same type of
55 information as reading from the MPU and slave IRQ's.
56
57config MPU_SENSORS_DEBUG
58 bool "MPU debug"
59 depends on MPU_SENSORS_MPU3050 || MPU_SENSORS_MPU6000 || MPU_SENSORS_TIMERIRQ
60 help
61 If you say yes here you get extra debug messages from the MPU3050
62 and other slave sensors.
63
64endmenu
65