iio: accel: add support for Memsic MXC6255XC sensor
authorTeodora Baluta <teodora.baluta@intel.com>
Thu, 22 Oct 2015 12:44:50 +0000 (15:44 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Oct 2015 11:49:54 +0000 (11:49 +0000)
commit75b6548f1793c7a79a8b063cd575df9c04dcc122
tree860a64d955cd4b83f2a1f5e46f57fa58e58b6099
parentd2a3e0931a8f3b95b910096d022ffd98adbd075c
iio: accel: add support for Memsic MXC6255XC sensor

This patch adds a minimal implementation for the Memsic MXC6255XC
orientation sensing accelerometer. The supported operations are reading
raw acceleration values for X/Y axis that can be scaled using the
exposed scale.

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/mxc6255.c [new file with mode: 0644]