blob: d729e3a9bd590b04b3675261e8e71906c6120ea6 [file] [log] [blame]
#
# inv-mpu-iio driver for Invensense MPU devices
#
config INV_MPU_IIO
tristate
select IIO_BUFFER
select IIO_KFIFO_BUF
select IIO_TRIGGER
select CRC32
choice
prompt "Chip name"
depends on INV_MPU_IIO
config INV_MPU_IIO_ICM20648
bool "ICM20648/ICM20948"
help
Select this if you are using a ICM20648/ICM20948 chip.
config INV_MPU_IIO_ICM20608D
bool "ICM20608D/ICM20609/ICM20689"
help
Select this if you are using a ICM20608D/ICM20609/ICM20689 chip.
config INV_MPU_IIO_ICM20602
bool "ICM20602"
help
Select this if you are using a ICM20602 chip.
config INV_MPU_IIO_ICM20690
bool "ICM20690"
help
Select this if you are using a ICM20690 chip.
config INV_MPU_IIO_IAM20680
bool "IAM20680"
help
Select this if you are using a IAM20680 chip.
endchoice
config INV_MPU_IIO_I2C
tristate "Invensense ICM20xxx devices (I2C)"
depends on I2C && !INV_MPU6050_IIO
select INV_MPU_IIO
default n
help
This driver supports Invensense ICM20xxx devices over I2C.
This driver can be built as a module. The module will be called
inv-mpu-iio-i2c.
config INV_MPU_IIO_SPI
tristate "Invensense ICM20xxx devices (SPI)"
depends on SPI_MASTER && !INV_MPU6050_IIO
select INV_MPU_IIO
default n
help
This driver supports Invensense ICM20xxx devices over SPI.
This driver can be built as a module. The module will be called
inv-mpu-iio-spi.
config ENABLE_IAM_ACC_GYRO_BUFFERING
bool "Enable accel & gyro boot time sensor sample buffering"
depends on INV_MPU_IIO
help
Say Y here if you want to buffer boot time sensor
samples for IAM20680 accelerometer and gyroscope
source "drivers/iio/imu/inv_mpu/inv_test/Kconfig"