diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-03-18 10:52:06 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-03-28 11:55:36 +0100 |
commit | 3acddf74f807778f0593ab4aaf26189c93e55ff1 (patch) | |
tree | c0472480a57867e2bcc982810a65ca49dca24892 /drivers/iio/accel/st_accel.h | |
parent | staging: fbtft: Do not use binary constants (diff) | |
download | linux-3acddf74f807778f0593ab4aaf26189c93e55ff1.tar.xz linux-3acddf74f807778f0593ab4aaf26189c93e55ff1.zip |
iio: st-sensors: add support for lis3lv02d accelerometer
This adds support for the LIS3LV02 accelerometer found in the
ST Microelectronics Nomadik board series.
Cc: devicetree@vger.kernel.org
Cc: Denis CIOCCA <denis.ciocca@st.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
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 fa9646034305..7ee9724b1428 100644 --- a/drivers/iio/accel/st_accel.h +++ b/drivers/iio/accel/st_accel.h @@ -14,6 +14,7 @@ #include <linux/types.h> #include <linux/iio/common/st_sensors.h> +#define LIS3LV02DL_ACCEL_DEV_NAME "lis3lv02dl_accel" #define LSM303DLHC_ACCEL_DEV_NAME "lsm303dlhc_accel" #define LIS3DH_ACCEL_DEV_NAME "lis3dh" #define LSM330D_ACCEL_DEV_NAME "lsm330d_accel" |