summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/Makefile
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2014-11-07 02:06:00 +0300
committerJonathan Cameron <jic23@kernel.org>2014-06-16 23:55:24 +0400
commitd14c0f10e71c174cc312fb77832450bd02171be5 (patch)
tree38372546dc76d1ed16a5c3d932485bd6cfd2d175 /drivers/iio/magnetometer/Makefile
parent1a4fbf6a9286a6e3db497bc7bbae2024f0f1ad90 (diff)
downloadlinux-d14c0f10e71c174cc312fb77832450bd02171be5.tar.xz
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>
Diffstat (limited to 'drivers/iio/magnetometer/Makefile')
-rw-r--r--drivers/iio/magnetometer/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Makefile b/drivers/iio/magnetometer/Makefile
index 0f5d3c985799..b91315e0b826 100644
--- a/drivers/iio/magnetometer/Makefile
+++ b/drivers/iio/magnetometer/Makefile
@@ -3,6 +3,7 @@
#
# When adding new entries keep the list in alphabetical order
+obj-$(CONFIG_AK09911) += ak09911.o
obj-$(CONFIG_AK8975) += ak8975.o
obj-$(CONFIG_MAG3110) += mag3110.o
obj-$(CONFIG_HID_SENSOR_MAGNETOMETER_3D) += hid-sensor-magn-3d.o