staging:iio:hmc5843: Add support for i2c hmc5983
authorJosef Gajdusek <atx@atalax.net>
Tue, 22 Jul 2014 15:02:00 +0000 (16:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Jul 2014 20:48:20 +0000 (21:48 +0100)
commit5a059bd268a79376ebf9ea539c5bb645c5a854d5
treef2dec4232edcbee0fc503fe8f417f4e669be2fae
parent585f7ce2a93296e634cb50deab418029fdffb23f
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>
Documentation/devicetree/bindings/iio/magnetometer/hmc5843.txt
drivers/staging/iio/magnetometer/Kconfig
drivers/staging/iio/magnetometer/hmc5843.h
drivers/staging/iio/magnetometer/hmc5843_core.c
drivers/staging/iio/magnetometer/hmc5843_i2c.c