xref: /openbmc/linux/drivers/iio/imu/Kconfig (revision 4f6cce39)
1#
2# IIO imu drivers configuration
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Inertial measurement units"
7
8config ADIS16400
9	tristate "Analog Devices ADIS16400 and similar IMU SPI driver"
10	depends on SPI
11	select IIO_ADIS_LIB
12	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
13	help
14	  Say yes here to build support for Analog Devices adis16300, adis16344,
15	  adis16350, adis16354, adis16355, adis16360, adis16362, adis16364,
16	  adis16365, adis16400 and adis16405 triaxial inertial sensors
17	  (adis16400 series also have magnetometers).
18
19config ADIS16480
20	tristate "Analog Devices ADIS16480 and similar IMU driver"
21	depends on SPI
22	select IIO_ADIS_LIB
23	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
24	help
25	  Say yes here to build support for Analog Devices ADIS16375, ADIS16480,
26	  ADIS16485, ADIS16488 inertial sensors.
27
28source "drivers/iio/imu/bmi160/Kconfig"
29
30config KMX61
31	tristate "Kionix KMX61 6-axis accelerometer and magnetometer"
32	depends on I2C
33	select IIO_BUFFER
34	select IIO_TRIGGERED_BUFFER
35	help
36	  Say Y here if you want to build a driver for Kionix KMX61 6-axis
37	  accelerometer and magnetometer.
38	  To compile this driver as module, choose M here: the module will
39	  be called kmx61.
40
41source "drivers/iio/imu/inv_mpu6050/Kconfig"
42source "drivers/iio/imu/st_lsm6dsx/Kconfig"
43
44endmenu
45
46config IIO_ADIS_LIB
47	tristate
48	help
49	  A set of IO helper functions for the Analog Devices ADIS* device family.
50
51config IIO_ADIS_LIB_BUFFER
52	bool
53	select IIO_TRIGGERED_BUFFER
54	help
55	  A set of buffer helper functions for the Analog Devices ADIS* device
56	  family.
57