xref: /linux/drivers/iio/imu/st_lsm6dsx/Kconfig (revision 1f20a5769446a1acae67ac9e63d07a594829a789)
1# SPDX-License-Identifier: GPL-2.0-only
2
3config IIO_ST_LSM6DSX
4	tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors"
5	depends on (I2C || SPI || I3C)
6	select IIO_BUFFER
7	select IIO_TRIGGERED_BUFFER
8	select IIO_KFIFO_BUF
9	select IIO_ST_LSM6DSX_I2C if (I2C)
10	select IIO_ST_LSM6DSX_SPI if (SPI_MASTER)
11	select IIO_ST_LSM6DSX_I3C if (I3C)
12	help
13	  Say yes here to build support for STMicroelectronics LSM6DSx imu
14	  sensor.
15	  Supported devices:
16	  - asm330lhb
17	  - asm330lhh
18	  - asm330lhhx
19	  - asm330lhhxg1
20	  - ism330dhcx
21	  - ism330dlc
22	  - ism330is
23	  - lsm6ds0
24	  - lsm6ds3
25	  - lsm6ds3h
26	  - lsm6ds3tr-c
27	  - lsm6dsl
28	  - lsm6dsm
29	  - lsm6dso
30	  - lsm6dso16is
31	  - lsm6dsop
32	  - lsm6dsox
33	  - lsm6dsr
34	  - lsm6dsrx
35	  - lsm6dst
36	  - lsm6dstx
37	  - lsm6dsv
38	  - lsm6dsv16x
39	  - lsm9ds1
40
41	  To compile this driver as a module, choose M here: the module
42	  will be called st_lsm6dsx.
43
44config IIO_ST_LSM6DSX_I2C
45	tristate
46	depends on IIO_ST_LSM6DSX
47	select REGMAP_I2C
48
49config IIO_ST_LSM6DSX_SPI
50	tristate
51	depends on IIO_ST_LSM6DSX
52	select REGMAP_SPI
53
54config IIO_ST_LSM6DSX_I3C
55	tristate
56	depends on IIO_ST_LSM6DSX
57	select REGMAP_I3C
58