1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "STMicroelectronics LSM9DS0 IMU driver"
5 depends on (I2C || SPI_MASTER) && SYSFS
6 depends on !SENSORS_LIS3_I2C
7 depends on !SENSORS_LIS3_SPI
8 select IIO_ST_LSM9DS0_I2C if I2C
9 select IIO_ST_LSM9DS0_SPI if SPI_MASTER
10 select IIO_ST_ACCEL_3AXIS
11 select IIO_ST_MAGN_3AXIS
14 Say yes here to build support for STMicroelectronics LSM9DS0 IMU
15 sensor. Supported devices: accelerometer/magnetometer of lsm9ds0.
17 To compile this driver as a module, choose M here: the module
18 will be called st_lsm9ds0.
20 config IIO_ST_LSM9DS0_I2C
22 depends on IIO_ST_LSM9DS0
25 config IIO_ST_LSM9DS0_SPI
27 depends on IIO_ST_LSM9DS0