1# SPDX-License-Identifier: GPL-2.0-only 2config IIO_ST_LSM6DSR 3 tristate "STMicroelectronics LSM6DSR sensor" 4 depends on (I2C || SPI) 5 select IIO_BUFFER 6 select IIO_TRIGGERED_BUFFER 7 select IIO_ST_LSM6DSR_I2C if (I2C) 8 select IIO_ST_LSM6DSR_SPI if (SPI_MASTER) 9 help 10 Say yes here to build support for STMicroelectronics LSM6DSR imu 11 sensor. 12 13 To compile this driver as a module, choose M here: the module 14 will be called st_lsm6dsr. 15 16config IIO_ST_LSM6DSR_I2C 17 tristate 18 depends on IIO_ST_LSM6DSR 19 20config IIO_ST_LSM6DSR_SPI 21 tristate 22 depends on IIO_ST_LSM6DSR 23 24config IIO_ST_LSM6DSR_MAY_WAKEUP 25 bool "Enable wake-up irq" 26 depends on IIO_ST_LSM6DSR 27 help 28 Say 'Y' to enable wake-up irq on interrupt line, this is for the 29 Power Management. 30 31 But this feature has not been fully implemented yet. 32 33 If unsure, say 'N'. 34