2013-06-03 22:58:00 +08:00
|
|
|
#
|
|
|
|
# Makefile for industrial I/O pressure drivers
|
|
|
|
#
|
|
|
|
|
2013-07-15 15:45:00 +08:00
|
|
|
# When adding new entries keep the list in alphabetical order
|
iio: pressure: Add driver for Honeywell ABP family
This patch adds minimal driver for the Honeywell Amplified Basic
Pressure sensors series. Sensors are pretty simple but are
available in many variants:
- psi/mbar/kPa output,
- analog/i2c/spi,
- gage/differential measurement,
- different measure ranges etc.
Refer to datasheets for more details:
http://sensing.honeywell.com/honeywell-sensing-basic-board-mount-pressure-sensors-abp-series-datasheet-323005128-c-en.pdf
http://sensing.honeywell.com/index.php%3Fci_id%3D45841
Driver internals:
- i2c only. measure request is done by the SMBUS QUICK cmd, so if the i2c
bus doesn't support it, it is required to send a dummy byte to trigger
measurement,
- since iio sysfs expects kilopascals, mbar-variants are treated as their
respective kPa-s, hence i2c id-table has doubled entries in one line:
{ "abp060mg", ABP006KG }, { "abp006kg", ABP006KG },
- psi-variants have prescaled values in config,
- no temperature reads yet.
Work remained:
- optional temperature channel,
- SPI support,
- DT binding.
Changes since v1:
- mutex is now locked in read_raw(),
- corrected error codes,
- fixed coding style issues,
- renamed few defines and functions abp -> abp060mg
(some structs left as they were to keep the sensible meaning).
Signed-off-by: Marcin Malagowski <mrc@bourne.st>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-09-27 01:23:06 +08:00
|
|
|
obj-$(CONFIG_ABP060MG) += abp060mg.o
|
2014-10-21 16:09:58 +08:00
|
|
|
obj-$(CONFIG_BMP280) += bmp280.o
|
2016-06-30 09:48:50 +08:00
|
|
|
bmp280-objs := bmp280-core.o bmp280-regmap.o
|
|
|
|
obj-$(CONFIG_BMP280_I2C) += bmp280-i2c.o
|
2016-06-30 09:48:51 +08:00
|
|
|
obj-$(CONFIG_BMP280_SPI) += bmp280-spi.o
|
2014-02-20 14:30:00 +08:00
|
|
|
obj-$(CONFIG_HID_SENSOR_PRESS) += hid-sensor-press.o
|
2016-04-18 22:05:24 +08:00
|
|
|
obj-$(CONFIG_HP03) += hp03.o
|
2014-02-06 00:58:00 +08:00
|
|
|
obj-$(CONFIG_MPL115) += mpl115.o
|
2016-01-16 00:00:03 +08:00
|
|
|
obj-$(CONFIG_MPL115_I2C) += mpl115_i2c.o
|
|
|
|
obj-$(CONFIG_MPL115_SPI) += mpl115_spi.o
|
2013-11-13 03:43:00 +08:00
|
|
|
obj-$(CONFIG_MPL3115) += mpl3115.o
|
2015-03-15 04:29:31 +08:00
|
|
|
obj-$(CONFIG_MS5611) += ms5611_core.o
|
|
|
|
obj-$(CONFIG_MS5611_I2C) += ms5611_i2c.o
|
|
|
|
obj-$(CONFIG_MS5611_SPI) += ms5611_spi.o
|
2015-10-01 22:13:40 +08:00
|
|
|
obj-$(CONFIG_MS5637) += ms5637.o
|
2013-06-03 22:58:00 +08:00
|
|
|
obj-$(CONFIG_IIO_ST_PRESS) += st_pressure.o
|
|
|
|
st_pressure-y := st_pressure_core.o
|
|
|
|
st_pressure-$(CONFIG_IIO_BUFFER) += st_pressure_buffer.o
|
2014-02-07 04:44:00 +08:00
|
|
|
obj-$(CONFIG_T5403) += t5403.o
|
2016-03-30 00:14:27 +08:00
|
|
|
obj-$(CONFIG_HP206C) += hp206c.o
|
2016-09-13 20:23:14 +08:00
|
|
|
obj-$(CONFIG_ZPA2326) += zpa2326.o
|
|
|
|
obj-$(CONFIG_ZPA2326_I2C) += zpa2326_i2c.o
|
|
|
|
obj-$(CONFIG_ZPA2326_SPI) += zpa2326_spi.o
|
2013-06-03 22:58:00 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_IIO_ST_PRESS_I2C) += st_pressure_i2c.o
|
|
|
|
obj-$(CONFIG_IIO_ST_PRESS_SPI) += st_pressure_spi.o
|