summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/st_pressure.h
diff options
context:
space:
mode:
authormario tesi <mario.tesi@st.com>2019-01-14 18:24:20 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-01-19 18:32:41 +0100
commite5aab7b0d88db2dbae0ad0dedeba22599576cd22 (patch)
tree625d4218b8570a51651902c1a2cd38d91f0fde77 /drivers/iio/pressure/st_pressure.h
parentiio: accell: mma8452: add vdd/vddio regulator operation support (diff)
downloadlinux-e5aab7b0d88db2dbae0ad0dedeba22599576cd22.tar.xz
linux-e5aab7b0d88db2dbae0ad0dedeba22599576cd22.zip
iio:st_pressure:initial lps22hh sensor support
Initial support for ST LPS22HH pressure sensor. Datasheet: http://www2.st.com/resource/en/datasheet/lps22hh.pdf Features: * pressure, temperature data and timestamping channels * sampling frequency selection [1..200] Hz * interrupt based trigger * over I2C or SPI interface Signed-off-by: mario tesi <mario.tesi@st.com> Acked-by: Denis Ciocca <denis.ciocca@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure/st_pressure.h')
-rw-r--r--drivers/iio/pressure/st_pressure.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/pressure/st_pressure.h b/drivers/iio/pressure/st_pressure.h
index e67eb0d971bf..57946605f3ba 100644
--- a/drivers/iio/pressure/st_pressure.h
+++ b/drivers/iio/pressure/st_pressure.h
@@ -21,6 +21,7 @@ enum st_press_type {
LPS22HB,
LPS33HW,
LPS35HW,
+ LPS22HH,
ST_PRESS_MAX,
};
@@ -30,6 +31,7 @@ enum st_press_type {
#define LPS22HB_PRESS_DEV_NAME "lps22hb"
#define LPS33HW_PRESS_DEV_NAME "lps33hw"
#define LPS35HW_PRESS_DEV_NAME "lps35hw"
+#define LPS22HH_PRESS_DEV_NAME "lps22hh"
/**
* struct st_sensors_platform_data - default press platform data