iio: imu: add support to lsm6dsx driver
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Tue, 10 Jan 2017 21:55:18 +0000 (22:55 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Jan 2017 12:40:37 +0000 (12:40 +0000)
commit290a6ce11d938be52634b3ce1bbc6b78be4d23c1
treeb7c1caeed89a21c4e5584faeac3253585e011cf5
parentadc8ec5ff183d09ae7a9d2dd31125401d302ba63
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>
drivers/iio/imu/Kconfig
drivers/iio/imu/Makefile
drivers/iio/imu/st_lsm6dsx/Kconfig [new file with mode: 0644]
drivers/iio/imu/st_lsm6dsx/Makefile [new file with mode: 0644]
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h [new file with mode: 0644]
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c [new file with mode: 0644]
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c [new file with mode: 0644]
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c [new file with mode: 0644]
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c [new file with mode: 0644]