iio: mma8452: add support for MMA8652FC and MMA8653FC
authorMartin Kepplinger <martink@posteo.de>
Tue, 1 Sep 2015 11:45:11 +0000 (13:45 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Sep 2015 19:23:22 +0000 (20:23 +0100)
commit417e008ba9db7ce4b4e48131c6f69829e9886b3e
tree7538380c59ca3d2085f085f195925c919eaeb5cd
parent60f562e74e75716cc121cc7adb2dcb43c17709bf
iio: mma8452: add support for MMA8652FC and MMA8653FC

MMA8652FC and MMA8653FC don't provide the transient interrupt source, so
the motion interrupt source is used by providing a new iio_chan_spec
definition, so that other supported devices are not affected by this.

Datasheets for the newly supported devices are available at Freescale's
website:

http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8652FC.pdf
http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8653FC.pdf

Signed-off-by: Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/accel/mma8452.txt
drivers/iio/accel/Kconfig
drivers/iio/accel/mma8452.c