mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-02 11:54:36 +08:00
6731ca3999
We can utilize separate drivers for accelerometer and magnetometer, so here is the glue driver to enable LSM9DS0 IMU support. The idea was suggested by Crestez Dan Leonard in [1]. The proposed change was sent as RFC due to race condition concerns, which are indeed possible. In order to amend the initial change, I went further by providing a specific multi-instantiate probe driver that reuses existing accelerometer and magnetometer. [1]: https://lore.kernel.org/patchwork/patch/670353/ Suggested-by: Crestez Dan Leonard <leonard.crestez@intel.com> Cc: mr.lahorde@laposte.net Cc: Matija Podravec <matija_podravec@fastmail.fm> Cc: Sergey Borishchenko <borischenko.sergey@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20210414195454.84183-6-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
30 lines
748 B
Makefile
30 lines
748 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for Inertial Measurement Units
|
|
#
|
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
obj-$(CONFIG_ADIS16400) += adis16400.o
|
|
obj-$(CONFIG_ADIS16460) += adis16460.o
|
|
obj-$(CONFIG_ADIS16475) += adis16475.o
|
|
obj-$(CONFIG_ADIS16480) += adis16480.o
|
|
|
|
adis_lib-y += adis.o
|
|
adis_lib-$(CONFIG_IIO_ADIS_LIB_BUFFER) += adis_trigger.o
|
|
adis_lib-$(CONFIG_IIO_ADIS_LIB_BUFFER) += adis_buffer.o
|
|
obj-$(CONFIG_IIO_ADIS_LIB) += adis_lib.o
|
|
|
|
obj-y += bmi160/
|
|
|
|
obj-$(CONFIG_FXOS8700) += fxos8700_core.o
|
|
obj-$(CONFIG_FXOS8700_I2C) += fxos8700_i2c.o
|
|
obj-$(CONFIG_FXOS8700_SPI) += fxos8700_spi.o
|
|
|
|
obj-y += inv_icm42600/
|
|
obj-y += inv_mpu6050/
|
|
|
|
obj-$(CONFIG_KMX61) += kmx61.o
|
|
|
|
obj-y += st_lsm6dsx/
|
|
obj-y += st_lsm9ds0/
|