diff options
author | 2014-07-22 16:02:00 +0100 | |
---|---|---|
committer | 2014-07-23 21:48:20 +0100 | |
commit | 5a059bd268a79376ebf9ea539c5bb645c5a854d5 (patch) | |
tree | f2dec4232edcbee0fc503fe8f417f4e669be2fae /drivers/staging/iio/magnetometer/hmc5843.h | |
parent | staging:iio:hmc5843: register <-> value arrays now can have different lengths (diff) | |
download | linux-dev-5a059bd268a79376ebf9ea539c5bb645c5a854d5.tar.xz linux-dev-5a059bd268a79376ebf9ea539c5bb645c5a854d5.zip |
staging:iio:hmc5843: Add support for i2c hmc5983
This patch adds support for the hmc5983 i2c interface.
This chip is almost identical to the hmc5883. The difference being added
temperature compensation, additional available sample rate (220Hz) and an SPI
interface.
Signed-off-by: Josef Gajdusek <atx@atx.name>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/magnetometer/hmc5843.h')
-rw-r--r-- | drivers/staging/iio/magnetometer/hmc5843.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/magnetometer/hmc5843.h b/drivers/staging/iio/magnetometer/hmc5843.h index 06b2712a67fd..b784e3eb4591 100644 --- a/drivers/staging/iio/magnetometer/hmc5843.h +++ b/drivers/staging/iio/magnetometer/hmc5843.h @@ -29,6 +29,7 @@ enum hmc5843_ids { HMC5843_ID, HMC5883_ID, HMC5883L_ID, + HMC5983_ID, }; struct hmc5843_data { |