This is the third version for adding support for Bosch BMC150 magnetometer. It contains fixes suggested by Jonathan. Changes in v3: - a couple of small fixes suggested by Jonathan Changes in v2: - renamed IIO_CHAN_INFO_CALIBREPETITIONS to IIO_CHAN_INFO_OVERSAMPLING_RATIO - split the main patch in two patches: one that adds main functionality and another that adds oversampling_ratio - fixed driver code and device tree bindings according to Jonathan's review - updated the available sampling frequencies depending on oversampling_ratio Irina Tirdea (4): iio: magn: Add support for BMC150 magnetometer iio: magn: bmc150_magn: Add devicetree binding documentation iio: core: Introduce IIO_CHAN_INFO_OVERSAMPLING_RATIO iio: magn: bmc150_magn: add oversampling ratio Documentation/ABI/testing/sysfs-bus-iio | 12 + .../bindings/iio/magnetometer/bmc150_magn.txt | 22 + drivers/iio/industrialio-core.c | 1 + drivers/iio/magnetometer/Kconfig | 14 + drivers/iio/magnetometer/Makefile | 2 + drivers/iio/magnetometer/bmc150_magn.c | 1109 ++++++++++++++++++++ include/linux/iio/iio.h | 1 + 7 files changed, 1161 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt create mode 100644 drivers/iio/magnetometer/bmc150_magn.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html