linux/drivers/iio/magnetometer
Richard Tresidder 3345d47023 iio: magnetometer: mag3110: Add ability to run in continuous mode
Adds the ability to run the Mag3110 in continuous mode to speed up the
sampling rate.
Depending on the sampling rate requested the device can be put in or out
of continuous mode automatically.
Shifting out of continuous mode requires a potential 1 / ODR wait which
is also implemented.
Modified the sleep method when data is not ready to allow for
sampling > 50sps to work.

Signed-off-by: Richard Tresidder <rtresidd@electromag.com.au>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-05-12 11:01:59 +01:00
..
ak8974.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
ak8975.c iio: magnetometer: ak8975: Add another ACPI ID 2017-12-02 10:40:02 +00:00
bmc150_magn_i2c.c iio: magnetometer: bmc150_magn_i2c: Add OF device ID table 2017-03-19 10:50:10 +00:00
bmc150_magn_spi.c
bmc150_magn.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
bmc150_magn.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hid-sensor-magn-3d.c iio:magnetometer: Replace magic number 0 by IIO_CHAN_INFO_RAW 2018-03-03 15:23:13 +00:00
hmc5843_core.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
hmc5843_i2c.c
hmc5843_spi.c
hmc5843.h
Kconfig iio: magnetometer: ak8974: support AMI306 variant 2017-08-20 11:18:33 +01:00
mag3110.c iio: magnetometer: mag3110: Add ability to run in continuous mode 2018-05-12 11:01:59 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mmc35240.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
st_magn_buffer.c
st_magn_core.c iio: magnetometer: st_magn: add SPI-3wire support to LIS3MDL 2017-10-10 20:36:33 +01:00
st_magn_i2c.c iio: magnetometer: add support to LIS2MDL 2017-08-17 15:51:39 +01:00
st_magn_spi.c iio: magnetometer: add support to LIS2MDL 2017-08-17 15:51:39 +01:00
st_magn.h iio: magnetometer: add support to LIS2MDL 2017-08-17 15:51:39 +01:00