mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Replace timestamping by the new common inv_sensors timestamp module. The principle behind is the same but the implementation in the new module is far better providing less jitter and a better estimation. Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20230606162147.79667-5-inv.git-commit@tdk.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# inv-mpu6050 drivers for Invensense MPU devices and combos
|
|
#
|
|
|
|
config INV_MPU6050_IIO
|
|
tristate
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select IIO_INV_SENSORS_TIMESTAMP
|
|
|
|
config INV_MPU6050_I2C
|
|
tristate "Invensense MPU6050 devices (I2C)"
|
|
depends on I2C
|
|
select I2C_MUX
|
|
select INV_MPU6050_IIO
|
|
select REGMAP_I2C
|
|
help
|
|
This driver supports the Invensense MPU6050/9150,
|
|
MPU6500/6515/6880/9250/9255, ICM20608(D)/20609/20689, ICM20600/20602/20690
|
|
and IAM20680 motion tracking devices over I2C.
|
|
This driver can be built as a module. The module will be called
|
|
inv-mpu6050-i2c.
|
|
|
|
config INV_MPU6050_SPI
|
|
tristate "Invensense MPU6050 devices (SPI)"
|
|
depends on SPI_MASTER
|
|
select INV_MPU6050_IIO
|
|
select REGMAP_SPI
|
|
help
|
|
This driver supports the Invensense MPU6000,
|
|
MPU6500/6515/6880/9250/9255, ICM20608(D)/20609/20689, ICM20600/20602/20690
|
|
and IAM20680 motion tracking devices over SPI.
|
|
This driver can be built as a module. The module will be called
|
|
inv-mpu6050-spi.
|