xref: /openbmc/linux/drivers/iio/accel/Makefile (revision 4a3fad70)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for industrial I/O accelerometer drivers
4#
5
6# When adding new entries keep the list in alphabetical order
7obj-$(CONFIG_ADXL345) += adxl345_core.o
8obj-$(CONFIG_ADXL345_I2C) += adxl345_i2c.o
9obj-$(CONFIG_ADXL345_SPI) += adxl345_spi.o
10obj-$(CONFIG_BMA180) += bma180.o
11obj-$(CONFIG_BMA220) += bma220_spi.o
12obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o
13obj-$(CONFIG_BMC150_ACCEL_I2C) += bmc150-accel-i2c.o
14obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o
15obj-$(CONFIG_DA280)	+= da280.o
16obj-$(CONFIG_DA311)	+= da311.o
17obj-$(CONFIG_DMARD06)	+= dmard06.o
18obj-$(CONFIG_DMARD09)	+= dmard09.o
19obj-$(CONFIG_DMARD10)	+= dmard10.o
20obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
21obj-$(CONFIG_KXCJK1013) += kxcjk-1013.o
22obj-$(CONFIG_KXSD9)	+= kxsd9.o
23obj-$(CONFIG_KXSD9_SPI)	+= kxsd9-spi.o
24obj-$(CONFIG_KXSD9_I2C)	+= kxsd9-i2c.o
25obj-$(CONFIG_MC3230)	+= mc3230.o
26
27obj-$(CONFIG_MMA7455)		+= mma7455_core.o
28obj-$(CONFIG_MMA7455_I2C)	+= mma7455_i2c.o
29obj-$(CONFIG_MMA7455_SPI)	+= mma7455_spi.o
30
31obj-$(CONFIG_MMA7660)	+= mma7660.o
32
33obj-$(CONFIG_MMA8452)	+= mma8452.o
34
35obj-$(CONFIG_MMA9551_CORE)	+= mma9551_core.o
36obj-$(CONFIG_MMA9551)		+= mma9551.o
37obj-$(CONFIG_MMA9553)		+= mma9553.o
38
39obj-$(CONFIG_MXC4005)		+= mxc4005.o
40obj-$(CONFIG_MXC6255)		+= mxc6255.o
41
42obj-$(CONFIG_SCA3000)		+= sca3000.o
43
44obj-$(CONFIG_STK8312)		+= stk8312.o
45obj-$(CONFIG_STK8BA50)		+= stk8ba50.o
46
47obj-$(CONFIG_IIO_CROS_EC_ACCEL_LEGACY) += cros_ec_accel_legacy.o
48
49obj-$(CONFIG_IIO_SSP_SENSORS_COMMONS) += ssp_accel_sensor.o
50
51obj-$(CONFIG_IIO_ST_ACCEL_3AXIS) += st_accel.o
52st_accel-y := st_accel_core.o
53st_accel-$(CONFIG_IIO_BUFFER) += st_accel_buffer.o
54
55obj-$(CONFIG_IIO_ST_ACCEL_I2C_3AXIS) += st_accel_i2c.o
56obj-$(CONFIG_IIO_ST_ACCEL_SPI_3AXIS) += st_accel_spi.o
57