Add startup time for each chip using inv_mpu6050 driver
authorBaptiste Mansuy <bmansuy@invensense.com>
Mon, 21 Jun 2021 08:57:31 +0000 (10:57 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 19 Jul 2021 08:51:59 +0000 (09:51 +0100)
commite46a36d92da0ded4e8519bc46912edc0d5a9f4a7
tree7859aa4cb09de597bc6040f8bb54b1a663f66392
parentd372e5a19a8eb281428954b5edbd033d824f1bf0
Add startup time for each chip using inv_mpu6050 driver

Add startup time for each chip familly. This allows a better behaviour of
the gyro and the accel. The gyro has now the time to stabilise itself
thus making initial data discarding for gyro irrelevant.

Signed-off-by: Baptiste Mansuy <bmansuy@invensense.com>
Acked-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Link: https://lore.kernel.org/r/20210621085731.9212-1-bmansuy@invensense.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h
drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c