xref: /linux/drivers/iio/imu/st_lsm6dsx/Kconfig (revision be709d48329a500621d2a05835283150ae137b45)
1
2config IIO_ST_LSM6DSX
3	tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors"
4	depends on (I2C || SPI)
5	select IIO_BUFFER
6	select IIO_KFIFO_BUF
7	select IIO_ST_LSM6DSX_I2C if (I2C)
8	select IIO_ST_LSM6DSX_SPI if (SPI_MASTER)
9	help
10	  Say yes here to build support for STMicroelectronics LSM6DSx imu
11	  sensor. Supported devices: lsm6ds3, lsm6ds3h, lsm6dsl, lsm6dsm,
12	  ism330dlc, lsm6dso
13
14	  To compile this driver as a module, choose M here: the module
15	  will be called st_lsm6dsx.
16
17config IIO_ST_LSM6DSX_I2C
18	tristate
19	depends on IIO_ST_LSM6DSX
20	select REGMAP_I2C
21
22config IIO_ST_LSM6DSX_SPI
23	tristate
24	depends on IIO_ST_LSM6DSX
25	select REGMAP_SPI
26