diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2017-09-02 19:39:14 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-09-03 19:10:33 +0200 |
commit | b954d77aa9163819af3dae5b0742e59ae8d6d309 (patch) | |
tree | 939fd6054deb6241cfb40c87fb4543b9dd0222d8 /drivers/iio/pressure/st_pressure.h | |
parent | iio: imu: inv_mpu6050: make arrays hz and d static (diff) | |
download | linux-b954d77aa9163819af3dae5b0742e59ae8d6d309.tar.xz linux-b954d77aa9163819af3dae5b0742e59ae8d6d309.zip |
iio: pressure: add support to LPS33HW and LPS35HW
add support to STMicroelectronics LPS33HW and LPS35HW pressure sensors
to st_pressure framework
http://www.st.com/resource/en/datasheet/lps33hw.pdf
http://www.st.com/resource/en/datasheet/lps35hw.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/iio/pressure/st_pressure.h b/drivers/iio/pressure/st_pressure.h index 7d995937adba..e67eb0d971bf 100644 --- a/drivers/iio/pressure/st_pressure.h +++ b/drivers/iio/pressure/st_pressure.h @@ -19,6 +19,8 @@ enum st_press_type { LPS25H, LPS331AP, LPS22HB, + LPS33HW, + LPS35HW, ST_PRESS_MAX, }; @@ -26,6 +28,8 @@ enum st_press_type { #define LPS25H_PRESS_DEV_NAME "lps25h" #define LPS331AP_PRESS_DEV_NAME "lps331ap" #define LPS22HB_PRESS_DEV_NAME "lps22hb" +#define LPS33HW_PRESS_DEV_NAME "lps33hw" +#define LPS35HW_PRESS_DEV_NAME "lps35hw" /** * struct st_sensors_platform_data - default press platform data |