2013-06-03 14:58:00 +00:00
|
|
|
#
|
|
|
|
# Makefile for industrial I/O pressure drivers
|
|
|
|
#
|
|
|
|
|
2013-07-15 07:45:00 +00: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-26 17:23:06 +00:00
|
|
|
obj-$(CONFIG_ABP060MG) += abp060mg.o
|
2014-10-21 08:09:58 +00:00
|
|
|
obj-$(CONFIG_BMP280) += bmp280.o
|
2016-06-30 01:48:50 +00:00
|
|
|
bmp280-objs := bmp280-core.o bmp280-regmap.o
|
|
|
|
obj-$(CONFIG_BMP280_I2C) += bmp280-i2c.o
|
2016-06-30 01:48:51 +00:00
|
|
|
obj-$(CONFIG_BMP280_SPI) += bmp280-spi.o
|
2017-01-24 13:41:41 +00:00
|
|
|
obj-$(CONFIG_IIO_CROS_EC_BARO) += cros_ec_baro.o
|
2014-02-20 06:30:00 +00:00
|
|
|
obj-$(CONFIG_HID_SENSOR_PRESS) += hid-sensor-press.o
|
2016-04-18 14:05:24 +00:00
|
|
|
obj-$(CONFIG_HP03) += hp03.o
|
2014-02-05 16:58:00 +00:00
|
|
|
obj-$(CONFIG_MPL115) += mpl115.o
|
2016-01-15 16:00:03 +00:00
|
|
|
obj-$(CONFIG_MPL115_I2C) += mpl115_i2c.o
|
|
|
|
obj-$(CONFIG_MPL115_SPI) += mpl115_spi.o
|
2013-11-12 19:43:00 +00:00
|
|
|
obj-$(CONFIG_MPL3115) += mpl3115.o
|
2015-03-14 20:29:31 +00:00
|
|
|
obj-$(CONFIG_MS5611) += ms5611_core.o
|
|
|
|
obj-$(CONFIG_MS5611_I2C) += ms5611_i2c.o
|
|
|
|
obj-$(CONFIG_MS5611_SPI) += ms5611_spi.o
|
2015-10-01 14:13:40 +00:00
|
|
|
obj-$(CONFIG_MS5637) += ms5637.o
|
2013-06-03 14:58:00 +00: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-06 20:44:00 +00:00
|
|
|
obj-$(CONFIG_T5403) += t5403.o
|
2016-03-29 16:14:27 +00:00
|
|
|
obj-$(CONFIG_HP206C) += hp206c.o
|
2016-09-13 12:23:14 +00:00
|
|
|
obj-$(CONFIG_ZPA2326) += zpa2326.o
|
|
|
|
obj-$(CONFIG_ZPA2326_I2C) += zpa2326_i2c.o
|
|
|
|
obj-$(CONFIG_ZPA2326_SPI) += zpa2326_spi.o
|
2013-06-03 14:58:00 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_IIO_ST_PRESS_I2C) += st_pressure_i2c.o
|
|
|
|
obj-$(CONFIG_IIO_ST_PRESS_SPI) += st_pressure_spi.o
|