aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mpu3050/Kconfig
blob: de240fa0ad83387730491f9194435e0b06443c94 (plain) (blame)
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

menu "Motion Sensors Support"

choice
    tristate "Motion Processing Unit"
    depends on I2C
    optional

config MPU_SENSORS_MPU3050
    tristate "MPU3050"
    help
      If you say yes here you get support for the MPU3050 Gyroscope driver
      This driver can also be built as a module.  If so, the module
      will be called mpu3050.

config MPU_SENSORS_MPU6000
    tristate "MPU6000"
    help
      If you say yes here you get support for the MPU6000 Gyroscope driver
      This driver can also be built as a module.  If so, the module
      will be called mpu6000.

endchoice

choice
    prompt "Accelerometer Type"
    depends on MPU_SENSORS_MPU3050
    optional

config MPU_SENSORS_KXTF9
    bool "Kionix KXTF9"
    help
      This enables support for the Kionix KXFT9 accelerometer

endchoice

choice
    prompt "Compass Type"
    depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
    optional

config MPU_SENSORS_AK8975
    bool "AKM ak8975"
    help
      This enables support for the AKM ak8975 compass

endchoice

config MPU_SENSORS_TIMERIRQ
    tristate "Timer IRQ"
    help
    If you say yes here you get access to the timerirq device handle which
    can be used to select on. This can be used instead of IRQ's, sleeping,
    or timer threads. Reading from this device returns the same type of
    information as reading from the MPU and slave IRQ's.

config MPU_SENSORS_DEBUG
    bool "MPU debug"
    depends on MPU_SENSORS_MPU3050 || MPU_SENSORS_MPU6000 || MPU_SENSORS_TIMERIRQ
    help
      If you say yes here you get extra debug messages from the MPU3050
      and other slave sensors.

endmenu