staging:iio:hmc5843: Add support for spi hmc5983
authorJosef Gajdusek <atx@atalax.net>
Tue, 22 Jul 2014 15:03:00 +0000 (16:03 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Jul 2014 20:48:24 +0000 (21:48 +0100)
commitd3f1621960223799b19bca9b503c333a3833d7f7
tree9d967acfa57a4d62992e104507026559672e9190
parent5a059bd268a79376ebf9ea539c5bb645c5a854d5
staging:iio:hmc5843: Add support for spi hmc5983

This patch adds support for the hmc5983 spi 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>
drivers/staging/iio/magnetometer/Kconfig
drivers/staging/iio/magnetometer/Makefile
drivers/staging/iio/magnetometer/hmc5843_spi.c [new file with mode: 0644]