linux-loongson/drivers/iio/imu/inv_icm42600/Kconfig
Jean-Baptiste Maneyrol d99ff463ec iio: move inv_icm42600 timestamp module in common
Create new inv_sensors common modules and move inv_icm42600
timestamp module inside. This module will be used by IMUs and
also in the future by other chips.

Modify inv_icm42600 driver to use timestamp module and do some
headers cleanup.

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-3-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-07-20 19:21:28 +01:00

31 lines
747 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-or-later
config INV_ICM42600
tristate
select IIO_BUFFER
select IIO_INV_SENSORS_TIMESTAMP
config INV_ICM42600_I2C
tristate "InvenSense ICM-426xx I2C driver"
depends on I2C
select INV_ICM42600
select REGMAP_I2C
help
This driver supports the InvenSense ICM-426xx motion tracking
devices over I2C.
This driver can be built as a module. The module will be called
inv-icm42600-i2c.
config INV_ICM42600_SPI
tristate "InvenSense ICM-426xx SPI driver"
depends on SPI_MASTER
select INV_ICM42600
select REGMAP_SPI
help
This driver supports the InvenSense ICM-426xx motion tracking
devices over SPI.
This driver can be built as a module. The module will be called
inv-icm42600-spi.