mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
c984b9cbbd
mpl115 driver currently supports i2c interface (MPL115A2). There is also SPI version (MPL115A1). The difference between them is only physical transport so we can easily support both while sharing most of the code. Split the driver into a core support module and one module each for I2C and SPI support. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: linux-iio@vger.kernel.org Signed-off-by: Jonathan Cameron <jic23@kernel.org>
23 lines
778 B
Makefile
23 lines
778 B
Makefile
#
|
|
# Makefile for industrial I/O pressure drivers
|
|
#
|
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
obj-$(CONFIG_BMP280) += bmp280.o
|
|
obj-$(CONFIG_HID_SENSOR_PRESS) += hid-sensor-press.o
|
|
obj-$(CONFIG_MPL115) += mpl115.o
|
|
obj-$(CONFIG_MPL115_I2C) += mpl115_i2c.o
|
|
obj-$(CONFIG_MPL115_SPI) += mpl115_spi.o
|
|
obj-$(CONFIG_MPL3115) += mpl3115.o
|
|
obj-$(CONFIG_MS5611) += ms5611_core.o
|
|
obj-$(CONFIG_MS5611_I2C) += ms5611_i2c.o
|
|
obj-$(CONFIG_MS5611_SPI) += ms5611_spi.o
|
|
obj-$(CONFIG_MS5637) += ms5637.o
|
|
obj-$(CONFIG_IIO_ST_PRESS) += st_pressure.o
|
|
st_pressure-y := st_pressure_core.o
|
|
st_pressure-$(CONFIG_IIO_BUFFER) += st_pressure_buffer.o
|
|
obj-$(CONFIG_T5403) += t5403.o
|
|
|
|
obj-$(CONFIG_IIO_ST_PRESS_I2C) += st_pressure_i2c.o
|
|
obj-$(CONFIG_IIO_ST_PRESS_SPI) += st_pressure_spi.o
|