iio: imu: nvi v.334 ICM SMD
authorErik Lilliebjerg <elilliebjerg@nvidia.com>
Thu, 7 Jul 2016 03:53:55 +0000 (20:53 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 29 Jul 2016 11:30:22 +0000 (04:30 -0700)
commite701fda4fb96577dc4221018769e1d06db012774
tree428356ef800f31b6cca4abb553971a0aeccf5beb
parent93eab4d38a2a3bf92ec606837ac2ee9e92a5943e
iio: imu: nvi v.334 ICM SMD

- Fix ICM DMP FW v.2 significant motion default parameters.
- Add realtime sensor configuration for significant motion.
- Fix ICM DMP FW v.2 maximum period by limiting accelerometer slowest clock
  setting to gyros since the FW v.2 WAR requires the same speed.

Bug 1768847

Change-Id: I8e3d2574019da6e2e9a0e0e574cc33cab363d490
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/1177151
(cherry picked from commit 24b210f89d2856b8ecedb5443e604788e3964680)
Reviewed-on: http://git-master/r/1185053
GVS: Gerrit_Virtual_Submit
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Akhilesh Khumbum <akhumbum@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
drivers/iio/common/nvs/nvs_iio.c
drivers/iio/imu/nvi_mpu/nvi.c
drivers/iio/imu/nvi_mpu/nvi.h
drivers/iio/imu/nvi_mpu/nvi_dmp_icm.c
drivers/iio/imu/nvi_mpu/nvi_dmp_icm.h
drivers/iio/imu/nvi_mpu/nvi_dmp_mpu.c
drivers/iio/imu/nvi_mpu/nvi_dmp_mpu.h
drivers/iio/imu/nvi_mpu/nvi_icm.c
drivers/iio/imu/nvi_mpu/nvi_mpu.c
include/linux/nvs.h