iio: add driver for Freescale MMA9553
authorIrina Tirdea <irina.tirdea@intel.com>
Thu, 29 Jan 2015 18:45:10 +0000 (18:45 +0000)
committerJonathan Cameron <jic23@kernel.org>
Fri, 30 Jan 2015 20:34:59 +0000 (20:34 +0000)
commit40cb761306d6c19d80fe85f9ae52615932f76b71
tree238c05112d8485c90dc227dae7c87d02efaffc95
parent81110933a94279afce73beecae568e704cf2b9b6
iio: add driver for Freescale MMA9553

Add support for Freescale MMA9553L Intelligent Pedometer Platform.

The following functionalities are supported:
 - step counter (counts the number of steps using a HW register)
 - step detector (generates an iio event at every step the user takes)
 - activity recognition (rest, walking, jogging, running)
 - speed
 - calories
 - distance

To get accurate pedometer results, the user's height, weight and gender
need to be configured.

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

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/mma9551_core.c
drivers/iio/accel/mma9551_core.h
drivers/iio/accel/mma9553.c [new file with mode: 0644]