1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for industrial I/O gyroscope sensor drivers
4#
5
6# When adding new entries keep the list in alphabetical order
7obj-$(CONFIG_ADIS16080) += adis16080.o
8obj-$(CONFIG_ADIS16130) += adis16130.o
9obj-$(CONFIG_ADIS16136) += adis16136.o
10obj-$(CONFIG_ADIS16260) += adis16260.o
11obj-$(CONFIG_ADXRS290) += adxrs290.o
12obj-$(CONFIG_ADXRS450) += adxrs450.o
13obj-$(CONFIG_BMG160) += bmg160_core.o
14obj-$(CONFIG_BMG160_I2C) += bmg160_i2c.o
15obj-$(CONFIG_BMG160_SPI) += bmg160_spi.o
16obj-$(CONFIG_FXAS21002C) += fxas21002c_core.o
17obj-$(CONFIG_FXAS21002C_I2C) += fxas21002c_i2c.o
18obj-$(CONFIG_FXAS21002C_SPI) += fxas21002c_spi.o
19
20obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
21
22# Currently this is rolled into one module, split it if
23# we ever create a separate SPI interface for MPU-3050
24obj-$(CONFIG_MPU3050) += mpu3050.o
25mpu3050-objs := mpu3050-core.o mpu3050-i2c.o
26
27itg3200-y               := itg3200_core.o
28itg3200-$(CONFIG_IIO_BUFFER) += itg3200_buffer.o
29obj-$(CONFIG_ITG3200)   += itg3200.o
30
31obj-$(CONFIG_IIO_SSP_SENSORS_COMMONS) += ssp_gyro_sensor.o
32
33obj-$(CONFIG_IIO_ST_GYRO_3AXIS) += st_gyro.o
34st_gyro-y := st_gyro_core.o
35st_gyro-$(CONFIG_IIO_BUFFER) += st_gyro_buffer.o
36
37obj-$(CONFIG_IIO_ST_GYRO_I2C_3AXIS) += st_gyro_i2c.o
38obj-$(CONFIG_IIO_ST_GYRO_SPI_3AXIS) += st_gyro_spi.o
39