iio: add driver for Freescale MMA9551L
authorVlad Dogaru <vlad.dogaru@intel.com>
Mon, 24 Nov 2014 09:43:15 +0000 (11:43 +0200)
committerJonathan Cameron <jic23@kernel.org>
Fri, 12 Dec 2014 12:28:37 +0000 (12:28 +0000)
commitc78b91716340da82f57b974ee5f52d33103f9231
tree55af37235091e77db191322170021e7a638c0ce8
parent7f1c2cbbdaf7da1036bfbf13615081bae72ed33a
iio: add driver for Freescale MMA9551L

Add support for Freescale MMA9551L Intelligent Motion-Sensing Platform.
The driver supports raw reads for acceleration and inclination, as well
as configuring inclination rate-of-change events.  The events can be
used similarly to an Android sensor Tilt event.

The specifications can be downloaded from:
http://www.freescale.com/files/sensors/doc/ref_manual/MMA955xLSWRM.pdf

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/mma9551.c [new file with mode: 0644]