summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/Makefile
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-10-31 15:49:16 +0300
committerJonathan Cameron <jic23@kernel.org>2015-11-01 21:00:35 +0300
commita84ef0d181d917125f1f16cffe53f84c19968969 (patch)
treed0d1d0475bdb1c9e4b399560a2b6ff102df948a2 /drivers/iio/accel/Makefile
parent18fb1ab0eb81a08ecb00065f3e6c037a37d8e917 (diff)
downloadlinux-a84ef0d181d917125f1f16cffe53f84c19968969.tar.xz
iio: accel: add Freescale MMA7455L/MMA7456L 3-axis accelerometer driver
Add support for Freescale MMA7455L/MMA7456L 3-axis in 10-bit mode for I2C and SPI bus. This rather simple driver that currently doesn't support all the hardware features of MMA7455L/MMA7456L. Tested on Embedded Artist's LPC4357 Dev Kit with MMA7455L on I2C bus. Data sheets for the two devices can be found here: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA7455L.pdf http://cache.freescale.com/files/sensors/doc/data_sheet/MMA7456L.pdf Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Makefile')
-rw-r--r--drivers/iio/accel/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iio/accel/Makefile b/drivers/iio/accel/Makefile
index 525ed52fab52..71b6794de885 100644
--- a/drivers/iio/accel/Makefile
+++ b/drivers/iio/accel/Makefile
@@ -10,6 +10,11 @@ obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o
obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
obj-$(CONFIG_KXCJK1013) += kxcjk-1013.o
obj-$(CONFIG_KXSD9) += kxsd9.o
+
+obj-$(CONFIG_MMA7455) += mma7455_core.o
+obj-$(CONFIG_MMA7455_I2C) += mma7455_i2c.o
+obj-$(CONFIG_MMA7455_SPI) += mma7455_spi.o
+
obj-$(CONFIG_MMA8452) += mma8452.o
obj-$(CONFIG_MMA9551_CORE) += mma9551_core.o