From 7b9ec099105a390b5301be6c12036061ecc8721e Mon Sep 17 00:00:00 2001 From: Bolat Dinc Date: Thu, 26 Mar 2015 12:15:18 -0700 Subject: driver: Add L3GD20H gyrometer basic driver support BUG=chrome-os-partner:40465 BRANCH=None TEST=Added Gyro config to test L3GD20H Gyro sensor in Kunimitsu. Able to read the gyro data from "accelinfo" console command. Rotated the sensor in X,Y,Z axis, respective axis values change. Fits into the existing accel/gyro framework. Change-Id: I19369560ddad5160c2fc9c7ef9823bd37b5389fa Signed-off-by: Bolat Dinc Signed-off-by: Divya Jyothi Signed-off-by: Vijay Hiremath Reviewed-on: https://chromium-review.googlesource.com/264650 Commit-Ready: Vijay P Hiremath Tested-by: Vijay P Hiremath Reviewed-by: Shawn N --- driver/build.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'driver/build.mk') diff --git a/driver/build.mk b/driver/build.mk index e87a1896e7..48e8c47825 100644 --- a/driver/build.mk +++ b/driver/build.mk @@ -13,6 +13,9 @@ driver-$(CONFIG_ACCELGYRO_LSM6DS0)+=accelgyro_lsm6ds0.o driver-$(CONFIG_ACCELGYRO_BMI160)+=accelgyro_bmi160.o driver-$(CONFIG_MAG_BMI160_BMM150)+=mag_bmm150.o +# Gyrometers +driver-$(CONFIG_GYRO_L3GD20H)+=gyro_l3gd20h.o + # ALS drivers driver-$(CONFIG_ALS_ISL29035)+=als_isl29035.o driver-$(CONFIG_ALS_OPT3001)+=als_opt3001.o -- cgit v1.2.1