xref: /linux/drivers/iio/imu/Kconfig (revision 1260ed77798502de9c98020040d2995008de10cc)
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 ADIS16460
21	tristate "Analog Devices ADIS16460 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 ADIS16460 inertial
27	  sensor.
28
29	  To compile this driver as a module, choose M here: the module will be
30	  called adis16460.
31
32config ADIS16475
33	tristate "Analog Devices ADIS16475 and similar IMU driver"
34	depends on SPI
35	select IIO_ADIS_LIB
36	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
37	help
38	  Say yes here to build support for Analog Devices ADIS16470, ADIS16475,
39	  ADIS16477, ADIS16465, ADIS16467, ADIS16500, ADIS16501, ADIS16505,
40	  ADIS16507 inertial sensors.
41
42	  To compile this driver as a module, choose M here: the module will be
43	  called adis16475.
44
45config ADIS16480
46	tristate "Analog Devices ADIS16480 and similar IMU driver"
47	depends on SPI
48	select IIO_ADIS_LIB
49	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
50	select CRC32
51	help
52	  Say yes here to build support for Analog Devices ADIS16375, ADIS16480,
53	  ADIS16485, ADIS16488 inertial sensors.
54
55config ADIS16550
56	tristate "Analog Devices ADIS16550 and similar IMU driver"
57	depends on SPI
58	select IIO_ADIS_LIB
59	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
60	select CRC32
61	help
62	  Say yes here to build support for Analog Devices ADIS16550 inertial
63	  sensor containing triaxis gyroscope and triaxis accelerometer.
64
65	  To compile this driver as a module, choose M here: the module will be
66	  called adis16550.
67
68source "drivers/iio/imu/bmi160/Kconfig"
69source "drivers/iio/imu/bmi270/Kconfig"
70source "drivers/iio/imu/bmi323/Kconfig"
71source "drivers/iio/imu/bno055/Kconfig"
72
73config FXOS8700
74	tristate
75
76config FXOS8700_I2C
77	tristate "NXP FXOS8700 I2C driver"
78	depends on I2C
79	select FXOS8700
80	select REGMAP_I2C
81	help
82	  Say yes here to build support for the NXP FXOS8700 m+g combo
83	  sensor on I2C.
84
85	  This driver can also be built as a module. If so, the module will be
86	  called fxos8700_i2c.
87
88config FXOS8700_SPI
89	tristate "NXP FXOS8700 SPI driver"
90	depends on SPI
91	select FXOS8700
92	select REGMAP_SPI
93	help
94	  Say yes here to build support for the NXP FXOS8700 m+g combo
95	  sensor on SPI.
96
97	  This driver can also be built as a module. If so, the module will be
98	  called fxos8700_spi.
99
100config KMX61
101	tristate "Kionix KMX61 6-axis accelerometer and magnetometer"
102	depends on I2C
103	select IIO_BUFFER
104	select IIO_TRIGGERED_BUFFER
105	help
106	  Say Y here if you want to build a driver for Kionix KMX61 6-axis
107	  accelerometer and magnetometer.
108	  To compile this driver as module, choose M here: the module will
109	  be called kmx61.
110
111source "drivers/iio/imu/inv_icm42600/Kconfig"
112source "drivers/iio/imu/inv_mpu6050/Kconfig"
113
114config SMI240
115	tristate "Bosch Sensor SMI240 Inertial Measurement Unit"
116	depends on SPI
117	select REGMAP_SPI
118	select IIO_BUFFER
119	select IIO_TRIGGERED_BUFFER
120	help
121	  If you say yes here you get support for SMI240 IMU on SPI with
122	  accelerometer and gyroscope.
123
124	  This driver can also be built as a module. If so, the module will be
125	  called smi240.
126
127source "drivers/iio/imu/st_lsm6dsx/Kconfig"
128source "drivers/iio/imu/st_lsm9ds0/Kconfig"
129
130endmenu
131
132config IIO_ADIS_LIB
133	tristate
134	help
135	  A set of IO helper functions for the Analog Devices ADIS* device family.
136
137config IIO_ADIS_LIB_BUFFER
138	bool
139	select IIO_TRIGGERED_BUFFER
140	help
141	  A set of buffer helper functions for the Analog Devices ADIS* device
142	  family.
143