xref: /openbmc/linux/drivers/iio/accel/Makefile (revision 98ddec80)
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_ADIS16201) += adis16201.o
8obj-$(CONFIG_ADIS16209) += adis16209.o
9obj-$(CONFIG_ADXL345) += adxl345_core.o
10obj-$(CONFIG_ADXL345_I2C) += adxl345_i2c.o
11obj-$(CONFIG_ADXL345_SPI) += adxl345_spi.o
12obj-$(CONFIG_BMA180) += bma180.o
13obj-$(CONFIG_BMA220) += bma220_spi.o
14obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o
15obj-$(CONFIG_BMC150_ACCEL_I2C) += bmc150-accel-i2c.o
16obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o
17obj-$(CONFIG_DA280)	+= da280.o
18obj-$(CONFIG_DA311)	+= da311.o
19obj-$(CONFIG_DMARD06)	+= dmard06.o
20obj-$(CONFIG_DMARD09)	+= dmard09.o
21obj-$(CONFIG_DMARD10)	+= dmard10.o
22obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
23obj-$(CONFIG_KXCJK1013) += kxcjk-1013.o
24obj-$(CONFIG_KXSD9)	+= kxsd9.o
25obj-$(CONFIG_KXSD9_SPI)	+= kxsd9-spi.o
26obj-$(CONFIG_KXSD9_I2C)	+= kxsd9-i2c.o
27obj-$(CONFIG_MC3230)	+= mc3230.o
28
29obj-$(CONFIG_MMA7455)		+= mma7455_core.o
30obj-$(CONFIG_MMA7455_I2C)	+= mma7455_i2c.o
31obj-$(CONFIG_MMA7455_SPI)	+= mma7455_spi.o
32
33obj-$(CONFIG_MMA7660)	+= mma7660.o
34
35obj-$(CONFIG_MMA8452)	+= mma8452.o
36
37obj-$(CONFIG_MMA9551_CORE)	+= mma9551_core.o
38obj-$(CONFIG_MMA9551)		+= mma9551.o
39obj-$(CONFIG_MMA9553)		+= mma9553.o
40
41obj-$(CONFIG_MXC4005)		+= mxc4005.o
42obj-$(CONFIG_MXC6255)		+= mxc6255.o
43
44obj-$(CONFIG_SCA3000)		+= sca3000.o
45
46obj-$(CONFIG_STK8312)		+= stk8312.o
47obj-$(CONFIG_STK8BA50)		+= stk8ba50.o
48
49obj-$(CONFIG_IIO_CROS_EC_ACCEL_LEGACY) += cros_ec_accel_legacy.o
50
51obj-$(CONFIG_IIO_SSP_SENSORS_COMMONS) += ssp_accel_sensor.o
52
53obj-$(CONFIG_IIO_ST_ACCEL_3AXIS) += st_accel.o
54st_accel-y := st_accel_core.o
55st_accel-$(CONFIG_IIO_BUFFER) += st_accel_buffer.o
56
57obj-$(CONFIG_IIO_ST_ACCEL_I2C_3AXIS) += st_accel_i2c.o
58obj-$(CONFIG_IIO_ST_ACCEL_SPI_3AXIS) += st_accel_spi.o
59