summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/Makefile
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2016-04-15 17:06:56 +0200
committerJonathan Cameron <jic23@kernel.org>2016-04-16 14:39:21 +0200
commit77c4ad2d6a9bb6c6744f8f3a25d1c62669d6b656 (patch)
tree3a0de269aa4877dad5d3491d6fe7c725222f1e26 /drivers/iio/imu/Makefile
parentiio: dht11: Improve logging (diff)
downloadlinux-77c4ad2d6a9bb6c6744f8f3a25d1c62669d6b656.tar.xz
linux-77c4ad2d6a9bb6c6744f8f3a25d1c62669d6b656.zip
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>
Diffstat (limited to 'drivers/iio/imu/Makefile')
-rw-r--r--drivers/iio/imu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/imu/Makefile b/drivers/iio/imu/Makefile
index e1e6e3d70e26..c71bcd30dc38 100644
--- a/drivers/iio/imu/Makefile
+++ b/drivers/iio/imu/Makefile
@@ -13,6 +13,7 @@ adis_lib-$(CONFIG_IIO_ADIS_LIB_BUFFER) += adis_trigger.o
adis_lib-$(CONFIG_IIO_ADIS_LIB_BUFFER) += adis_buffer.o
obj-$(CONFIG_IIO_ADIS_LIB) += adis_lib.o
+obj-y += bmi160/
obj-y += inv_mpu6050/
obj-$(CONFIG_KMX61) += kmx61.o