summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/st_pressure.h
diff options
context:
space:
mode:
authorGregor Boirie <gregor.boirie@parrot.com>2016-04-19 11:18:32 +0200
committerJonathan Cameron <jic23@kernel.org>2016-05-29 15:02:14 +0100
commite039e2f5b4dab9a90bb5441a154c01a051b1abfa (patch)
treeac2528cf4315fbc4b7e0dcd5206a996d0c0d6a54 /drivers/iio/pressure/st_pressure.h
parentef2d71d6b7fbbb57e332883d8fad39f2adb9199e (diff)
downloadlinux-e039e2f5b4dab9a90bb5441a154c01a051b1abfa.tar.gz
linux-e039e2f5b4dab9a90bb5441a154c01a051b1abfa.tar.bz2
linux-e039e2f5b4dab9a90bb5441a154c01a051b1abfa.zip
iio:st_pressure:initial lps22hb sensor support
Initial support for ST LPS22HB pressure sensor. Datasheet: http://www2.st.com/resource/en/datasheet/lps22hb.pdf Features: * pressure data and timestamping channels * sampling frequency selection * interrupt based trigger * over I2C or SPI Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure/st_pressure.h')
-rw-r--r--drivers/iio/pressure/st_pressure.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/pressure/st_pressure.h b/drivers/iio/pressure/st_pressure.h
index f5f41490060b..903a21e46874 100644
--- a/drivers/iio/pressure/st_pressure.h
+++ b/drivers/iio/pressure/st_pressure.h
@@ -17,6 +17,7 @@
#define LPS001WP_PRESS_DEV_NAME "lps001wp"
#define LPS25H_PRESS_DEV_NAME "lps25h"
#define LPS331AP_PRESS_DEV_NAME "lps331ap"
+#define LPS22HB_PRESS_DEV_NAME "lps22hb"
/**
* struct st_sensors_platform_data - default press platform data