xref: /openbmc/linux/drivers/iio/imu/Kconfig (revision fff7352b)
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"
5577c4ad2dSDaniel Baluta
5684e5ddd5SRobert Jonesconfig FXOS8700
5784e5ddd5SRobert Jones	tristate
5884e5ddd5SRobert Jones
5984e5ddd5SRobert Jonesconfig FXOS8700_I2C
6084e5ddd5SRobert Jones	tristate "NXP FXOS8700 I2C driver"
6184e5ddd5SRobert Jones	depends on I2C
6284e5ddd5SRobert Jones	select FXOS8700
6384e5ddd5SRobert Jones	select REGMAP_I2C
6484e5ddd5SRobert Jones	help
6584e5ddd5SRobert Jones	  Say yes here to build support for the NXP FXOS8700 m+g combo
6684e5ddd5SRobert Jones	  sensor on I2C.
6784e5ddd5SRobert Jones
6884e5ddd5SRobert Jones	  This driver can also be built as a module. If so, the module will be
6984e5ddd5SRobert Jones	  called fxos8700_i2c.
7084e5ddd5SRobert Jones
7184e5ddd5SRobert Jonesconfig FXOS8700_SPI
7284e5ddd5SRobert Jones	tristate "NXP FXOS8700 SPI driver"
7384e5ddd5SRobert Jones	depends on SPI
7484e5ddd5SRobert Jones	select FXOS8700
7584e5ddd5SRobert Jones	select REGMAP_SPI
7684e5ddd5SRobert Jones	help
7784e5ddd5SRobert Jones	  Say yes here to build support for the NXP FXOS8700 m+g combo
7884e5ddd5SRobert Jones	  sensor on SPI.
7984e5ddd5SRobert Jones
8084e5ddd5SRobert Jones	  This driver can also be built as a module. If so, the module will be
8184e5ddd5SRobert Jones	  called fxos8700_spi.
8284e5ddd5SRobert Jones
8320ffac27SDaniel Balutaconfig KMX61
8420ffac27SDaniel Baluta	tristate "Kionix KMX61 6-axis accelerometer and magnetometer"
8520ffac27SDaniel Baluta	depends on I2C
86c3a23eccSDaniel Baluta	select IIO_BUFFER
87c3a23eccSDaniel Baluta	select IIO_TRIGGERED_BUFFER
8820ffac27SDaniel Baluta	help
8920ffac27SDaniel Baluta	  Say Y here if you want to build a driver for Kionix KMX61 6-axis
9020ffac27SDaniel Baluta	  accelerometer and magnetometer.
9120ffac27SDaniel Baluta	  To compile this driver as module, choose M here: the module will
9220ffac27SDaniel Baluta	  be called kmx61.
9320ffac27SDaniel Baluta
94ed10557fSManuel Stahlsource "drivers/iio/imu/inv_mpu6050/Kconfig"
95290a6ce1SLorenzo Bianconisource "drivers/iio/imu/st_lsm6dsx/Kconfig"
96ed10557fSManuel Stahl
972f3abe6cSLars-Peter Clausenendmenu
982f3abe6cSLars-Peter Clausen
99ec04cb04SLars-Peter Clausenconfig IIO_ADIS_LIB
100ec04cb04SLars-Peter Clausen	tristate
101ec04cb04SLars-Peter Clausen	help
102ec04cb04SLars-Peter Clausen	  A set of IO helper functions for the Analog Devices ADIS* device family.
103ec04cb04SLars-Peter Clausen
104ec04cb04SLars-Peter Clausenconfig IIO_ADIS_LIB_BUFFER
105ec04cb04SLars-Peter Clausen	bool
106ec04cb04SLars-Peter Clausen	select IIO_TRIGGERED_BUFFER
107ec04cb04SLars-Peter Clausen	help
108ec04cb04SLars-Peter Clausen	  A set of buffer helper functions for the Analog Devices ADIS* device
109ec04cb04SLars-Peter Clausen	  family.
110