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