1 config MPU_SENSORS_TIMERIRQ
2 tristate "MPU Timer IRQ"
4 If you say yes here you get access to the timerirq device handle which
5 can be used to select on. This can be used instead of IRQ's, sleeping,
6 or timer threads. Reading from this device returns the same type of
7 information as reading from the MPU and slave IRQ's.
9 menuconfig: INV_SENSORS
10 tristate "Motion Processing Unit"
18 depends on I2C && INV_SENSORS
19 default MPU_SENSORS_MPU3050
21 config MPU_SENSORS_MPU3050
24 select MPU_SENSORS_MPU3050_GYRO
26 If you say yes here you get support for the MPU3050 Gyroscope driver
27 This driver can also be built as a module. If so, the module
28 will be called mpu3050.
30 config MPU_SENSORS_MPU6050A2
33 select MPU_SENSORS_MPU6050_GYRO
35 If you say yes here you get support for the MPU6050A2 Gyroscope driver
36 This driver can also be built as a module. If so, the module
37 will be called mpu6050a2.
39 config MPU_SENSORS_MPU6050B1
41 select MPU_SENSORS_MPU6050_GYRO
44 If you say yes here you get support for the MPU6050 Gyroscope driver
45 This driver can also be built as a module. If so, the module
46 will be called mpu6050b1.
51 prompt "Gyroscope Type"
52 depends on I2C && INV_SENSORS
53 default MPU_SENSORS_MPU3050_GYRO
55 config MPU_SENSORS_MPU3050_GYRO
56 bool "MPU3050 built in gyroscope"
57 depends on MPU_SENSORS_MPU3050
59 config MPU_SENSORS_MPU6050_GYRO
60 bool "MPU6050 built in gyroscope"
61 depends on MPU_SENSORS_MPU6050B1 || MPU_SENSORS_MPU6050A2
65 source "drivers/misc/inv_mpu/accel/Kconfig"
66 source "drivers/misc/inv_mpu/compass/Kconfig"
67 source "drivers/misc/inv_mpu/pressure/Kconfig"
69 config MPU_USERSPACE_DEBUG
70 bool "MPU Userspace debugging ioctls"
72 Allows the ioctls MPU_SET_MPU_PLATFORM_DATA and
73 MPU_SET_EXT_SLAVE_PLATFORM_DATA, which allows userspace applications
74 to override the slave address and orientation. This is dangerous
75 and could cause the devices not to work.