diff options
author | Giuseppe Barba <giuseppe.barba@st.com> | 2015-11-12 08:36:49 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-11-14 20:04:12 +0100 |
commit | 34dc578d99449a83dcb0f5ef4444215590183af4 (patch) | |
tree | 1938f06fd8abf9bbc3c3f5aaa225a2a28cbabca7 /drivers/iio/accel/st_accel.h | |
parent | iio: imu: check sscanf return value (diff) | |
download | linux-34dc578d99449a83dcb0f5ef4444215590183af4.tar.xz linux-34dc578d99449a83dcb0f5ef4444215590183af4.zip |
iio: st-accel: add support for lis2dh12
This commit add support for STMicroelectronics lis2dh12 accelerometer.
Datasheet for this device can be found here:
http://www.st.com/st-web-ui/static/active/en/resource/technical/
document/datasheet/DM00091513.pdf
Signed-off-by: Giuseppe Barba <giuseppe.barba@st.com>
Acked-by: Denis Ciocca <denis.ciocca@st.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/st_accel.h')
-rw-r--r-- | drivers/iio/accel/st_accel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/st_accel.h b/drivers/iio/accel/st_accel.h index 468f21fa2950..5d4a1897b293 100644 --- a/drivers/iio/accel/st_accel.h +++ b/drivers/iio/accel/st_accel.h @@ -27,6 +27,7 @@ #define LSM303DLM_ACCEL_DEV_NAME "lsm303dlm_accel" #define LSM330_ACCEL_DEV_NAME "lsm330_accel" #define LSM303AGR_ACCEL_DEV_NAME "lsm303agr_accel" +#define LIS2DH12_ACCEL_DEV_NAME "lis2dh12_accel" /** * struct st_sensors_platform_data - default accel platform data |