xref: /openbmc/linux/drivers/iio/imu/Kconfig (revision 4aefe1c2)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
22f3abe6cSLars-Peter Clausen#
32f3abe6cSLars-Peter Clausen# IIO imu drivers configuration
42f3abe6cSLars-Peter Clausen#
53edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
63edc84e6SLars-Peter Clausen
72f3abe6cSLars-Peter Clausenmenu "Inertial measurement units"
82f3abe6cSLars-Peter Clausen
9d6b09bd8SLars-Peter Clausenconfig ADIS16400
10d6b09bd8SLars-Peter Clausen	tristate "Analog Devices ADIS16400 and similar IMU SPI driver"
11d6b09bd8SLars-Peter Clausen	depends on SPI
12d6b09bd8SLars-Peter Clausen	select IIO_ADIS_LIB
13d6b09bd8SLars-Peter Clausen	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
14d6b09bd8SLars-Peter Clausen	help
15d6b09bd8SLars-Peter Clausen	  Say yes here to build support for Analog Devices adis16300, adis16344,
16d6b09bd8SLars-Peter Clausen	  adis16350, adis16354, adis16355, adis16360, adis16362, adis16364,
17d6b09bd8SLars-Peter Clausen	  adis16365, adis16400 and adis16405 triaxial inertial sensors
18d6b09bd8SLars-Peter Clausen	  (adis16400 series also have magnetometers).
19d6b09bd8SLars-Peter Clausen
20db6ed4d2SAlexandru Ardeleanconfig ADIS16460
21db6ed4d2SAlexandru Ardelean	tristate "Analog Devices ADIS16460 and similar IMU driver"
22db6ed4d2SAlexandru Ardelean	depends on SPI
23db6ed4d2SAlexandru Ardelean	select IIO_ADIS_LIB
24db6ed4d2SAlexandru Ardelean	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
25db6ed4d2SAlexandru Ardelean	help
26db6ed4d2SAlexandru Ardelean	  Say yes here to build support for Analog Devices ADIS16460 inertial
27db6ed4d2SAlexandru Ardelean	  sensor.
28db6ed4d2SAlexandru Ardelean
29db6ed4d2SAlexandru Ardelean	  To compile this driver as a module, choose M here: the module will be
30db6ed4d2SAlexandru Ardelean	  called adis16460.
31db6ed4d2SAlexandru Ardelean
32fff7352bSNuno Sáconfig ADIS16475
33fff7352bSNuno Sá	tristate "Analog Devices ADIS16475 and similar IMU driver"
34fff7352bSNuno Sá	depends on SPI
35fff7352bSNuno Sá	select IIO_ADIS_LIB
36fff7352bSNuno Sá	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
37fff7352bSNuno Sá	help
38fff7352bSNuno Sá	  Say yes here to build support for Analog Devices ADIS16470, ADIS16475,
39fff7352bSNuno Sá	  ADIS16477, ADIS16465, ADIS16467, ADIS16500, ADIS16505, ADIS16507 inertial
40fff7352bSNuno Sá	  sensors.
41fff7352bSNuno Sá
42fff7352bSNuno Sá	  To compile this driver as a module, choose M here: the module will be
43fff7352bSNuno Sá	  called adis16475.
44fff7352bSNuno Sá
452f3abe6cSLars-Peter Clausenconfig ADIS16480
462f3abe6cSLars-Peter Clausen	tristate "Analog Devices ADIS16480 and similar IMU driver"
472f3abe6cSLars-Peter Clausen	depends on SPI
482f3abe6cSLars-Peter Clausen	select IIO_ADIS_LIB
492f3abe6cSLars-Peter Clausen	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
502f3abe6cSLars-Peter Clausen	help
512f3abe6cSLars-Peter Clausen	  Say yes here to build support for Analog Devices ADIS16375, ADIS16480,
522f3abe6cSLars-Peter Clausen	  ADIS16485, ADIS16488 inertial sensors.
532f3abe6cSLars-Peter Clausen
5477c4ad2dSDaniel Balutasource "drivers/iio/imu/bmi160/Kconfig"
55*4aefe1c2SAndrea Merellosource "drivers/iio/imu/bno055/Kconfig"
5677c4ad2dSDaniel Baluta
5784e5ddd5SRobert Jonesconfig FXOS8700
5884e5ddd5SRobert Jones	tristate
5984e5ddd5SRobert Jones
6084e5ddd5SRobert Jonesconfig FXOS8700_I2C
6184e5ddd5SRobert Jones	tristate "NXP FXOS8700 I2C driver"
6284e5ddd5SRobert Jones	depends on I2C
6384e5ddd5SRobert Jones	select FXOS8700
6484e5ddd5SRobert Jones	select REGMAP_I2C
6584e5ddd5SRobert Jones	help
6684e5ddd5SRobert Jones	  Say yes here to build support for the NXP FXOS8700 m+g combo
6784e5ddd5SRobert Jones	  sensor on I2C.
6884e5ddd5SRobert Jones
6984e5ddd5SRobert Jones	  This driver can also be built as a module. If so, the module will be
7084e5ddd5SRobert Jones	  called fxos8700_i2c.
7184e5ddd5SRobert Jones
7284e5ddd5SRobert Jonesconfig FXOS8700_SPI
7384e5ddd5SRobert Jones	tristate "NXP FXOS8700 SPI driver"
7484e5ddd5SRobert Jones	depends on SPI
7584e5ddd5SRobert Jones	select FXOS8700
7684e5ddd5SRobert Jones	select REGMAP_SPI
7784e5ddd5SRobert Jones	help
7884e5ddd5SRobert Jones	  Say yes here to build support for the NXP FXOS8700 m+g combo
7984e5ddd5SRobert Jones	  sensor on SPI.
8084e5ddd5SRobert Jones
8184e5ddd5SRobert Jones	  This driver can also be built as a module. If so, the module will be
8284e5ddd5SRobert Jones	  called fxos8700_spi.
8384e5ddd5SRobert Jones
8420ffac27SDaniel Balutaconfig KMX61
8520ffac27SDaniel Baluta	tristate "Kionix KMX61 6-axis accelerometer and magnetometer"
8620ffac27SDaniel Baluta	depends on I2C
87c3a23eccSDaniel Baluta	select IIO_BUFFER
88c3a23eccSDaniel Baluta	select IIO_TRIGGERED_BUFFER
8920ffac27SDaniel Baluta	help
9020ffac27SDaniel Baluta	  Say Y here if you want to build a driver for Kionix KMX61 6-axis
9120ffac27SDaniel Baluta	  accelerometer and magnetometer.
9220ffac27SDaniel Baluta	  To compile this driver as module, choose M here: the module will
9320ffac27SDaniel Baluta	  be called kmx61.
9420ffac27SDaniel Baluta
958237945dSJean-Baptiste Maneyrolsource "drivers/iio/imu/inv_icm42600/Kconfig"
96ed10557fSManuel Stahlsource "drivers/iio/imu/inv_mpu6050/Kconfig"
97290a6ce1SLorenzo Bianconisource "drivers/iio/imu/st_lsm6dsx/Kconfig"
986731ca39SAndy Shevchenkosource "drivers/iio/imu/st_lsm9ds0/Kconfig"
99ed10557fSManuel Stahl
1002f3abe6cSLars-Peter Clausenendmenu
1012f3abe6cSLars-Peter Clausen
102ec04cb04SLars-Peter Clausenconfig IIO_ADIS_LIB
103ec04cb04SLars-Peter Clausen	tristate
104ec04cb04SLars-Peter Clausen	help
105ec04cb04SLars-Peter Clausen	  A set of IO helper functions for the Analog Devices ADIS* device family.
106ec04cb04SLars-Peter Clausen
107ec04cb04SLars-Peter Clausenconfig IIO_ADIS_LIB_BUFFER
108ec04cb04SLars-Peter Clausen	bool
109ec04cb04SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
110ec04cb04SLars-Peter Clausen	help
111ec04cb04SLars-Peter Clausen	  A set of buffer helper functions for the Analog Devices ADIS* device
112ec04cb04SLars-Peter Clausen	  family.
113