xref: /openbmc/linux/drivers/iio/imu/Kconfig (revision 84e5ddd5)
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
322f3abe6cSLars-Peter Clausenconfig ADIS16480
332f3abe6cSLars-Peter Clausen	tristate "Analog Devices ADIS16480 and similar IMU driver"
342f3abe6cSLars-Peter Clausen	depends on SPI
352f3abe6cSLars-Peter Clausen	select IIO_ADIS_LIB
362f3abe6cSLars-Peter Clausen	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
372f3abe6cSLars-Peter Clausen	help
382f3abe6cSLars-Peter Clausen	  Say yes here to build support for Analog Devices ADIS16375, ADIS16480,
392f3abe6cSLars-Peter Clausen	  ADIS16485, ADIS16488 inertial sensors.
402f3abe6cSLars-Peter Clausen
4177c4ad2dSDaniel Balutasource "drivers/iio/imu/bmi160/Kconfig"
4277c4ad2dSDaniel Baluta
4384e5ddd5SRobert Jonesconfig FXOS8700
4484e5ddd5SRobert Jones	tristate
4584e5ddd5SRobert Jones
4684e5ddd5SRobert Jonesconfig FXOS8700_I2C
4784e5ddd5SRobert Jones	tristate "NXP FXOS8700 I2C driver"
4884e5ddd5SRobert Jones	depends on I2C
4984e5ddd5SRobert Jones	select FXOS8700
5084e5ddd5SRobert Jones	select REGMAP_I2C
5184e5ddd5SRobert Jones	help
5284e5ddd5SRobert Jones	  Say yes here to build support for the NXP FXOS8700 m+g combo
5384e5ddd5SRobert Jones	  sensor on I2C.
5484e5ddd5SRobert Jones
5584e5ddd5SRobert Jones	  This driver can also be built as a module. If so, the module will be
5684e5ddd5SRobert Jones	  called fxos8700_i2c.
5784e5ddd5SRobert Jones
5884e5ddd5SRobert Jonesconfig FXOS8700_SPI
5984e5ddd5SRobert Jones	tristate "NXP FXOS8700 SPI driver"
6084e5ddd5SRobert Jones	depends on SPI
6184e5ddd5SRobert Jones	select FXOS8700
6284e5ddd5SRobert Jones	select REGMAP_SPI
6384e5ddd5SRobert Jones	help
6484e5ddd5SRobert Jones	  Say yes here to build support for the NXP FXOS8700 m+g combo
6584e5ddd5SRobert Jones	  sensor on SPI.
6684e5ddd5SRobert Jones
6784e5ddd5SRobert Jones	  This driver can also be built as a module. If so, the module will be
6884e5ddd5SRobert Jones	  called fxos8700_spi.
6984e5ddd5SRobert Jones
7020ffac27SDaniel Balutaconfig KMX61
7120ffac27SDaniel Baluta	tristate "Kionix KMX61 6-axis accelerometer and magnetometer"
7220ffac27SDaniel Baluta	depends on I2C
73c3a23eccSDaniel Baluta	select IIO_BUFFER
74c3a23eccSDaniel Baluta	select IIO_TRIGGERED_BUFFER
7520ffac27SDaniel Baluta	help
7620ffac27SDaniel Baluta	  Say Y here if you want to build a driver for Kionix KMX61 6-axis
7720ffac27SDaniel Baluta	  accelerometer and magnetometer.
7820ffac27SDaniel Baluta	  To compile this driver as module, choose M here: the module will
7920ffac27SDaniel Baluta	  be called kmx61.
8020ffac27SDaniel Baluta
81ed10557fSManuel Stahlsource "drivers/iio/imu/inv_mpu6050/Kconfig"
82290a6ce1SLorenzo Bianconisource "drivers/iio/imu/st_lsm6dsx/Kconfig"
83ed10557fSManuel Stahl
842f3abe6cSLars-Peter Clausenendmenu
852f3abe6cSLars-Peter Clausen
86ec04cb04SLars-Peter Clausenconfig IIO_ADIS_LIB
87ec04cb04SLars-Peter Clausen	tristate
88ec04cb04SLars-Peter Clausen	help
89ec04cb04SLars-Peter Clausen	  A set of IO helper functions for the Analog Devices ADIS* device family.
90ec04cb04SLars-Peter Clausen
91ec04cb04SLars-Peter Clausenconfig IIO_ADIS_LIB_BUFFER
92ec04cb04SLars-Peter Clausen	bool
93ec04cb04SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
94ec04cb04SLars-Peter Clausen	help
95ec04cb04SLars-Peter Clausen	  A set of buffer helper functions for the Analog Devices ADIS* device
96ec04cb04SLars-Peter Clausen	  family.
97