iio: AK09911 : 3 axis compass support
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 6 Nov 2014 23:06:00 +0000 (23:06 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 16 Jun 2014 19:55:24 +0000 (20:55 +0100)
commitd14c0f10e71c174cc312fb77832450bd02171be5
tree38372546dc76d1ed16a5c3d932485bd6cfd2d175
parent1a4fbf6a9286a6e3db497bc7bbae2024f0f1ad90
iio: AK09911 : 3 axis compass support

Added IIO magnetometer driver for AK09911. In functionality is resembles
AK8975 or AK8963. But there are several differences, so instead of
modifying existing AK8975 driver and keep it clean, implemented as
a separate driver.
The key differences are:
- Register map is different and have different indexes
- AK09911 is a very compact interface with no DRDY pin. So no support
 of interrupt or GPIO poll
- Even for polled mode no mention on ST2 register, which is required in
ak8975 driver
- mode values are different for fuse access

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/Kconfig
drivers/iio/magnetometer/Makefile
drivers/iio/magnetometer/ak09911.c [new file with mode: 0644]
This page took 0.02594 seconds and 5 git commands to generate.