mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 17:58:24 +07:00
db6ed4d23d
The ADIS16460 device is a complete inertial system that includes a triaxial gyroscope and a triaxial accelerometer. It's more simplified design than that of the ADIS16480, and does not offer the triaxial magnetometers & pressure sensors. It does also have a temperature sensor (like the ADIS16480). Since it is part of the ADIS16XXX family, it re-uses parts of the ADIS library. Naturally, the register map is different and much more simplified than the ADIS16480 subfamily, so it cannot be integrated into that driver. A major difference is that the registers are not paged. One thing that is particularly special about it, is that it requires a higher delay between CS changes (i.e. when CS goes up, the spec recommends that it be brought down after a minimum of 16 uS). Other ADIS chips require (via spec) a minimum of 2 uS between CS changes. The kernel's 10 uS default should be fine for those other chips; they haven't been tested with lower CS change delays yet. Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/adis16460.pdf Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
70 lines
1.9 KiB
Plaintext
70 lines
1.9 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# IIO imu drivers configuration
|
|
#
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
menu "Inertial measurement units"
|
|
|
|
config ADIS16400
|
|
tristate "Analog Devices ADIS16400 and similar IMU SPI driver"
|
|
depends on SPI
|
|
select IIO_ADIS_LIB
|
|
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
|
|
help
|
|
Say yes here to build support for Analog Devices adis16300, adis16344,
|
|
adis16350, adis16354, adis16355, adis16360, adis16362, adis16364,
|
|
adis16365, adis16400 and adis16405 triaxial inertial sensors
|
|
(adis16400 series also have magnetometers).
|
|
|
|
config ADIS16460
|
|
tristate "Analog Devices ADIS16460 and similar IMU driver"
|
|
depends on SPI
|
|
select IIO_ADIS_LIB
|
|
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
|
|
help
|
|
Say yes here to build support for Analog Devices ADIS16460 inertial
|
|
sensor.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called adis16460.
|
|
|
|
config ADIS16480
|
|
tristate "Analog Devices ADIS16480 and similar IMU driver"
|
|
depends on SPI
|
|
select IIO_ADIS_LIB
|
|
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
|
|
help
|
|
Say yes here to build support for Analog Devices ADIS16375, ADIS16480,
|
|
ADIS16485, ADIS16488 inertial sensors.
|
|
|
|
source "drivers/iio/imu/bmi160/Kconfig"
|
|
|
|
config KMX61
|
|
tristate "Kionix KMX61 6-axis accelerometer and magnetometer"
|
|
depends on I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say Y here if you want to build a driver for Kionix KMX61 6-axis
|
|
accelerometer and magnetometer.
|
|
To compile this driver as module, choose M here: the module will
|
|
be called kmx61.
|
|
|
|
source "drivers/iio/imu/inv_mpu6050/Kconfig"
|
|
source "drivers/iio/imu/st_lsm6dsx/Kconfig"
|
|
|
|
endmenu
|
|
|
|
config IIO_ADIS_LIB
|
|
tristate
|
|
help
|
|
A set of IO helper functions for the Analog Devices ADIS* device family.
|
|
|
|
config IIO_ADIS_LIB_BUFFER
|
|
bool
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
A set of buffer helper functions for the Analog Devices ADIS* device
|
|
family.
|