summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/Kconfig
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2014-03-19 17:56:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-03-22 13:41:37 +0100
commit6027c077f62f11818a7645151119f8718862d764 (patch)
tree26e1650162cb045f4806f06d328cbf05d64a608d /drivers/iio/magnetometer/Kconfig
parentiio:gyro:itg3200 - drop unreachable return ret. Highlighted by smatch (diff)
downloadlinux-6027c077f62f11818a7645151119f8718862d764.tar.xz
linux-6027c077f62f11818a7645151119f8718862d764.zip
iio: ak8975 : Add AK8963 compatibility mode support
AK8963 and AK8975 use same register definitions, except the range of X,Y,Z values. Added support of 8963 based on i2c_device_id. Unfortunately there is no way to detect the type via registers, both device registers return 0x48 as id of chipset. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/Kconfig')
-rw-r--r--drivers/iio/magnetometer/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig
index d86d226dcd67..05a364c543f8 100644
--- a/drivers/iio/magnetometer/Kconfig
+++ b/drivers/iio/magnetometer/Kconfig
@@ -11,7 +11,8 @@ config AK8975
depends on GPIOLIB
help
Say yes here to build support for Asahi Kasei AK8975 3-Axis
- Magnetometer.
+ Magnetometer. This driver can also support AK8963, if i2c
+ device name is identified as ak8963.
To compile this driver as a module, choose M here: the module
will be called ak8975.