diff options
author | Robert Jones <rjones@gateworks.com> | 2019-04-11 02:12:09 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-14 14:22:31 +0200 |
commit | 63440a630d3b0cb6ab7c8507dc27a383fc82ed57 (patch) | |
tree | 931859d64b433adbaa936276a51bf21fc6c30728 /drivers/iio/accel/st_accel.h | |
parent | dt-bindings: iio: accel: add LIS2DE12 sensor device binding (diff) | |
download | linux-63440a630d3b0cb6ab7c8507dc27a383fc82ed57.tar.xz linux-63440a630d3b0cb6ab7c8507dc27a383fc82ed57.zip |
iio: accel: add support to LIS2DE12
Add support to STMicroelectronics LIS2DE12 accelerometer in
st_accel framework.
http://www.st.com/resource/en/datasheet/lis2de12.pdf
Signed-off-by: Robert Jones <rjones@gateworks.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/st_accel.h')
-rw-r--r-- | drivers/iio/accel/st_accel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/accel/st_accel.h b/drivers/iio/accel/st_accel.h index fd53258656ca..9d25955af58e 100644 --- a/drivers/iio/accel/st_accel.h +++ b/drivers/iio/accel/st_accel.h @@ -34,6 +34,7 @@ enum st_accel_type { LIS3LV02DL, LIS2DW12, LIS3DHH, + LIS2DE12, ST_ACCEL_MAX, }; @@ -57,6 +58,7 @@ enum st_accel_type { #define LIS2DW12_ACCEL_DEV_NAME "lis2dw12" #define LIS3DHH_ACCEL_DEV_NAME "lis3dhh" #define LIS3DE_ACCEL_DEV_NAME "lis3de" +#define LIS2DE12_ACCEL_DEV_NAME "lis2de12" /** * struct st_sensors_platform_data - default accel platform data |