[PATCH v2 0/4] Add support for BMC150 magnetometer

From: Irina Tirdea
Date: Thu Apr 23 2015 - 14:34:27 EST


This is the second version for adding support for Bosch BMC150
magnetometer. It mostly contains 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 | 1111 ++++++++++++++++++++
include/linux/iio/iio.h | 1 +
7 files changed, 1163 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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/