mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-14 16:46:13 +07:00
7f85e42a6c
Add all FIFO parsing and reading functions. Add accel and gyro kfifo buffer and FIFO data parsing. Use device interrupt for reading data FIFO and launching accel and gyro parsing. Support hwfifo watermark by multiplexing gyro and accel settings. Support hwfifo flush. Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
30 lines
713 B
Plaintext
30 lines
713 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
config INV_ICM42600
|
|
tristate
|
|
select IIO_BUFFER
|
|
|
|
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.
|