| config MPU_SENSORS_TIMERIRQ |
| tristate "MPU 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. |
| |
| menuconfig INV_SENSORS |
| tristate "Motion Processing Unit" |
| depends on I2C |
| default y |
| |
| if INV_SENSORS |
| |
| choice |
| tristate "MPU Master" |
| depends on I2C && INV_SENSORS |
| default MPU_SENSORS_MPU3050 |
| |
| config MPU_SENSORS_MPU3050 |
| tristate "MPU3050" |
| depends on I2C |
| select MPU_SENSORS_MPU3050_GYRO |
| 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_MPU6050A2 |
| tristate "MPU6050A2" |
| depends on I2C |
| select MPU_SENSORS_MPU6050_GYRO |
| help |
| If you say yes here you get support for the MPU6050A2 Gyroscope driver |
| This driver can also be built as a module. If so, the module |
| will be called mpu6050a2. |
| |
| config MPU_SENSORS_MPU6050B1 |
| tristate "MPU6050B1" |
| depends on I2C |
| select MPU_SENSORS_MPU6050_GYRO |
| help |
| If you say yes here you get support for the MPU6050 Gyroscope driver |
| This driver can also be built as a module. If so, the module |
| will be called mpu6050b1. |
| |
| endchoice |
| |
| config MPU_SENSORS_MPU3050_GYRO |
| bool "MPU3050 built in gyroscope" |
| depends on MPU_SENSORS_MPU3050 |
| |
| config MPU_SENSORS_MPU6050_GYRO |
| bool "MPU6050 built in gyroscope" |
| depends on MPU_SENSORS_MPU6050B1 || MPU_SENSORS_MPU6050A2 |
| |
| source "drivers/misc/inv_mpu/accel/Kconfig" |
| source "drivers/misc/inv_mpu/compass/Kconfig" |
| source "drivers/misc/inv_mpu/pressure/Kconfig" |
| |
| config MPU_USERSPACE_DEBUG |
| bool "MPU Userspace debugging ioctls" |
| help |
| Allows the ioctls MPU_SET_MPU_PLATFORM_DATA and |
| MPU_SET_EXT_SLAVE_PLATFORM_DATA, which allows userspace applications |
| to override the slave address and orientation. This is dangerous |
| and could cause the devices not to work. |
| |
| endif #INV_SENSORS |