]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iio: imu: Add initial support for Bosch BMI160
authorDaniel Baluta <daniel.baluta@intel.com>
Fri, 15 Apr 2016 15:06:56 +0000 (18:06 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sat, 16 Apr 2016 12:39:21 +0000 (13:39 +0100)
commit77c4ad2d6a9bb6c6744f8f3a25d1c62669d6b656
tree3a0de269aa4877dad5d3491d6fe7c725222f1e26
parentab4b6496a26f87ceff95ee6c0449e6ac2de2f2e4
iio: imu: Add initial support for Bosch BMI160

BMI160 is an Inertial Measurement Unit (IMU) which provides acceleration
and angular rate measurement. It also offers a secondary I2C interface
for connecting a magnetometer sensor (usually BMM160).

Current driver offers support for accelerometer and gyroscope readings
via sysfs or via buffer interface using an external trigger (e.g.
hrtimer). Data is retrieved from IMU via I2C or SPI interface.

Datasheet is at:
http://www.mouser.com/ds/2/783/BST-BMI160-DS000-07-786474.pdf

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/Kconfig
drivers/iio/imu/Makefile
drivers/iio/imu/bmi160/Kconfig [new file with mode: 0644]
drivers/iio/imu/bmi160/Makefile [new file with mode: 0644]
drivers/iio/imu/bmi160/bmi160.h [new file with mode: 0644]
drivers/iio/imu/bmi160/bmi160_core.c [new file with mode: 0644]
drivers/iio/imu/bmi160/bmi160_i2c.c [new file with mode: 0644]
drivers/iio/imu/bmi160/bmi160_spi.c [new file with mode: 0644]