aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/accel/st_accel.h
diff options
context:
space:
mode:
authorRobert Jones <rjones@gateworks.com>2019-04-10 17:12:09 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-14 13:22:31 +0100
commit63440a630d3b0cb6ab7c8507dc27a383fc82ed57 (patch)
tree931859d64b433adbaa936276a51bf21fc6c30728 /drivers/iio/accel/st_accel.h
parent52e77d67dd8d48e4b74341c4825c2e915ceaedcd (diff)
downloadlinux-63440a630d3b0cb6ab7c8507dc27a383fc82ed57.tar.gz
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.h2
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