iio: accel: add support for mxc4005 accelerometer
authorTeodora Baluta <teodora.baluta@intel.com>
Thu, 20 Aug 2015 14:37:31 +0000 (17:37 +0300)
committerJonathan Cameron <jic23@kernel.org>
Mon, 31 Aug 2015 16:32:05 +0000 (17:32 +0100)
commit077377fc4f74899c58e946e47352216412d0bb3a
treea00dcc7a9ff50941275c55017da1a2fae7eae47a
parentb1d125cc6236399258025b0c5646cafa2b45e043
iio: accel: add support for mxc4005 accelerometer

This patch adds support for Memsic MXC4005XC 3-axis accelerometer. The
current implementation is a minimal one as it adds raw readings for the
three axes and setting scale from userspace.

Signed-off-by: Teodora Baluta <teodora.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/mxc4005.c [new file with mode: 0644]