summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/st_pressure.h
diff options
context:
space:
mode:
authorMartyn Welch <martyn.welch@collabora.co.uk>2022-09-09 19:16:10 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-09-21 20:42:53 +0300
commit92ba0ab945aee1f3d23b045c893290380e3e059c (patch)
tree3d72e7e3ba5d7642f5c985e65ce60d1c7768d319 /drivers/iio/pressure/st_pressure.h
parentb402783711bfe93e9da0e3f9eab3aee95cece29d (diff)
downloadlinux-92ba0ab945aee1f3d23b045c893290380e3e059c.tar.xz
iio: pressure: st_pressure: Add support for LPS22DF
Add support for ST LPS22DF pressure sensor. Datasheet: https://www.st.com/resource/en/datasheet/lps22df.pdf Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Link: https://lore.kernel.org/r/20220909161611.780720-2-martyn.welch@collabora.co.uk 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 156e6a72dc5c..6e11bea784fa 100644
--- a/drivers/iio/pressure/st_pressure.h
+++ b/drivers/iio/pressure/st_pressure.h
@@ -22,6 +22,7 @@ enum st_press_type {
LPS33HW,
LPS35HW,
LPS22HH,
+ LPS22DF,
ST_PRESS_MAX,
};
@@ -32,6 +33,7 @@ enum st_press_type {
#define LPS33HW_PRESS_DEV_NAME "lps33hw"
#define LPS35HW_PRESS_DEV_NAME "lps35hw"
#define LPS22HH_PRESS_DEV_NAME "lps22hh"
+#define LPS22DF_PRESS_DEV_NAME "lps22df"
/**
* struct st_sensors_platform_data - default press platform data