diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2017-09-17 18:17:11 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-10-10 20:40:54 +0100 |
commit | fea4d486617b2a305cce65f7b6e4636d393e22be (patch) | |
tree | 48f962f9f6b9083d60f4b935f628e8d7f94ee171 /drivers/iio/accel/st_accel.h | |
parent | 7d245172675a66bf3dc7f8fa51e81f80559a40a3 (diff) |
iio: accel: add support to LIS3DHH
add support to STMicroelectronics LIS3DHH accel sensor
http://www.st.com/resource/en/datasheet/lis3dhh.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.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 2ed0f60418c0..2f931e4837e5 100644 --- a/drivers/iio/accel/st_accel.h +++ b/drivers/iio/accel/st_accel.h @@ -33,6 +33,7 @@ enum st_accel_type { LIS331DL, LIS3LV02DL, LIS2DW12, + LIS3DHH, ST_ACCEL_MAX, }; @@ -54,6 +55,7 @@ enum st_accel_type { #define LIS3L02DQ_ACCEL_DEV_NAME "lis3l02dq" #define LNG2DM_ACCEL_DEV_NAME "lng2dm" #define LIS2DW12_ACCEL_DEV_NAME "lis2dw12" +#define LIS3DHH_ACCEL_DEV_NAME "lis3dhh" /** * struct st_sensors_platform_data - default accel platform data |