commit | 6027c077f62f11818a7645151119f8718862d764 | [log] [tgz] |
---|---|---|
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | Wed Mar 19 16:56:00 2014 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Mar 22 12:41:37 2014 +0000 |
tree | 26e1650162cb045f4806f06d328cbf05d64a608d | |
parent | 239670ef48dfff9cf07675acdb3bb7deee4853e1 [diff] |
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>