diff options
author | Martyn Welch <martyn.welch@collabora.co.uk> | 2022-09-09 18:16:10 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-21 19:42:53 +0200 |
commit | 92ba0ab945aee1f3d23b045c893290380e3e059c (patch) | |
tree | 3d72e7e3ba5d7642f5c985e65ce60d1c7768d319 /drivers/iio/pressure/st_pressure.h | |
parent | dt-bindings: iio: st,st-sensors add LPS22DF. (diff) | |
download | linux-92ba0ab945aee1f3d23b045c893290380e3e059c.tar.xz linux-92ba0ab945aee1f3d23b045c893290380e3e059c.zip |
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.h | 2 |
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 |