diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2017-01-11 00:55:18 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-14 15:40:37 +0300 |
commit | 290a6ce11d938be52634b3ce1bbc6b78be4d23c1 (patch) | |
tree | b7c1caeed89a21c4e5584faeac3253585e011cf5 /drivers/iio/imu/st_lsm6dsx/Kconfig | |
parent | adc8ec5ff183d09ae7a9d2dd31125401d302ba63 (diff) | |
download | linux-290a6ce11d938be52634b3ce1bbc6b78be4d23c1.tar.xz |
iio: imu: add support to lsm6dsx driver
Add support to STM LSM6DS3-LSM6DSM 6-axis (acc + gyro) Mems sensor
http://www.st.com/resource/en/datasheet/lsm6ds3.pdf
http://www.st.com/resource/en/datasheet/lsm6dsm.pdf
- continuous mode support
- i2c support
- spi support
- sw fifo mode support
- supported devices: lsm6ds3, lsm6dsm
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/imu/st_lsm6dsx/Kconfig')
-rw-r--r-- | drivers/iio/imu/st_lsm6dsx/Kconfig | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/iio/imu/st_lsm6dsx/Kconfig b/drivers/iio/imu/st_lsm6dsx/Kconfig new file mode 100644 index 000000000000..935d4cd071a3 --- /dev/null +++ b/drivers/iio/imu/st_lsm6dsx/Kconfig @@ -0,0 +1,22 @@ + +config IIO_ST_LSM6DSX + tristate "ST_LSM6DSx driver for STM 6-axis IMU MEMS sensors" + depends on (I2C || SPI) + select IIO_BUFFER + select IIO_KFIFO_BUF + select IIO_ST_LSM6DSX_I2C if (I2C) + select IIO_ST_LSM6DSX_SPI if (SPI_MASTER) + help + Say yes here to build support for STMicroelectronics LSM6DSx imu + sensor. Supported devices: lsm6ds3, lsm6dsm + + To compile this driver as a module, choose M here: the module + will be called st_lsm6dsx. + +config IIO_ST_LSM6DSX_I2C + tristate + depends on IIO_ST_LSM6DSX + +config IIO_ST_LSM6DSX_SPI + tristate + depends on IIO_ST_LSM6DSX |