iio: mma8452: add support for FXLS8471Q
authorMartin Kepplinger <martink@posteo.de>
Wed, 9 Mar 2016 11:01:29 +0000 (12:01 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 12 Mar 2016 10:49:52 +0000 (10:49 +0000)
commite8731180fbf6fd45351b587d67cdc0685ce99a7a
treedcbbcc320414b2d78e35a19658e2eb24c82ec8e9
parent1e52fefc9b0c481f8ca860e19781720fb5404383
iio: mma8452: add support for FXLS8471Q

This adds support for Freescale's (now NXP's) FXLS8471Q accelerometer.

We use MMA8451Q's configuration because for what the driver supports,
FXLS8471Q is the same.

Support for FXLS8471Q's features (fast SPI interface and a larger FIFO,
among others) can be added to this driver anytime.

See it's datasheet for the details:
http://cache.nxp.com/files/sensors/doc/data_sheet/FXLS8471Q.pdf

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/accel/mma8452.txt
drivers/iio/accel/Kconfig
drivers/iio/accel/mma8452.c