mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
b26b4e9170
This patch mimics the SPI functionality found in the misc driver in drivers/misc/bh085-spi.c to make it possible to reuse the existing BMP280/BMP180/BMP085 driver with all clients of the other driver. The adoption is straight-forward since like the other driver, it is a simple matter of using regmap. This driver is also so obviously inspired/copied from the old misc driver in drivers/misc/bmp085.c that I just took the liberty to add in the authors of the other drivers + self in the core driver file. The MISC driver also supports a variant named "BMP181" so include that here to be complete in comparison to the old driver. The bus mapping code for SPI was written by Akinobu Mita. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Tested-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
28 lines
967 B
Makefile
28 lines
967 B
Makefile
#
|
|
# Makefile for industrial I/O pressure drivers
|
|
#
|
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
obj-$(CONFIG_BMP280) += bmp280.o
|
|
bmp280-objs := bmp280-core.o bmp280-regmap.o
|
|
obj-$(CONFIG_BMP280_I2C) += bmp280-i2c.o
|
|
obj-$(CONFIG_BMP280_SPI) += bmp280-spi.o
|
|
obj-$(CONFIG_HID_SENSOR_PRESS) += hid-sensor-press.o
|
|
obj-$(CONFIG_HP03) += hp03.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_HP206C) += hp206c.o
|
|
|
|
obj-$(CONFIG_IIO_ST_PRESS_I2C) += st_pressure_i2c.o
|
|
obj-$(CONFIG_IIO_ST_PRESS_SPI) += st_pressure_spi.o
|