diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2014-02-05 09:51:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-05-03 12:06:25 +0100 |
commit | c7eeea93ac60aba3c037af8933a7ffc96ccd495c (patch) | |
tree | 0009ddacc7103bed21bb67fab7efef1ada7e8371 /drivers/iio/accel/Makefile | |
parent | 88cece46acb88c4032d34b8b52796e08a99c34d2 (diff) |
iio: Add Freescale MMA8452Q 3-axis accelerometer driver
3-axis accelerometer sensor (2/4/8 g) with 12-bit resolution
and I2C interface
many extra features are unsupported (freefall detection, orientation
change, autosleep)
datasheet is here:
http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8452Q.pdf
v2: (thanks to Jonathan Cameron)
* use ARRAY_SIZE()
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Makefile')
-rw-r--r-- | drivers/iio/accel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/Makefile b/drivers/iio/accel/Makefile index c48d15f25616..dc0e379c2592 100644 --- a/drivers/iio/accel/Makefile +++ b/drivers/iio/accel/Makefile @@ -6,6 +6,7 @@ obj-$(CONFIG_BMA180) += bma180.o obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o obj-$(CONFIG_KXSD9) += kxsd9.o +obj-$(CONFIG_MMA8452) += mma8452.o obj-$(CONFIG_IIO_ST_ACCEL_3AXIS) += st_accel.o st_accel-y := st_accel_core.o |