diff options
author | Gregor Boirie <gregor.boirie@parrot.com> | 2016-04-19 11:18:32 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-05-29 16:02:14 +0200 |
commit | e039e2f5b4dab9a90bb5441a154c01a051b1abfa (patch) | |
tree | ac2528cf4315fbc4b7e0dcd5206a996d0c0d6a54 /drivers/iio/pressure/st_pressure.h | |
parent | iio: triggers: Make trigger ops structure explicitly non optional. (diff) | |
download | linux-e039e2f5b4dab9a90bb5441a154c01a051b1abfa.tar.xz 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.h | 1 |
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 |