menu "Motion Sensors Support"

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

if INV_SENSORS

choice
    prompt "MPU Master"
    depends on I2C && INV_SENSORS
    optional

config MPU_SENSORS_MPU3050
    bool "MPU3050"
    depends on I2C
    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.

endchoice

choice
    prompt "Gyroscope Type"
    depends on I2C && INV_SENSORS
    optional

config MPU_SENSORS_MPU3050_GYRO
    tristate "MPU3050 built in gyroscope"
    depends on MPU_SENSORS_MPU3050

endchoice

choice
    prompt "Accelerometer Type"
    depends on I2C
    optional

config MPU_SENSORS_KXTF9
    bool "Kionix KXTF9"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Kionix KXFT9 accelerometer
endchoice

choice
    prompt "Compass Type"
    optional

config MPU_SENSORS_AK8975
    bool "AKM ak8975"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the AKM ak8975 compass
endchoice

endif #INV_SENSORS

endmenu
