This series adds support for the adis16475 and similar IMUs. This driver will be the first user of some changes on the adis library. Hence, the first three patches are related to the library: * Add anaged device functions for registering triggers with the library; * Updates the way `irq_mask` is passed to `request_irq()`; * It adds an update_bits() like API. Nuno Sá (5): iio: imu: adis: Add Managed device functions iio: imu: adis: Add irq mask variable iio: adis: Add adis_update_bits() APIs iio: imu: Add support for adis16475 dt-bindings: iio: Add adis16475 documentation .../ABI/testing/sysfs-bus-iio-imu-adis16475 | 7 + .../bindings/iio/imu/adi,adis16475.yaml | 130 ++ MAINTAINERS | 9 + drivers/iio/imu/Kconfig | 13 + drivers/iio/imu/Makefile | 1 + drivers/iio/imu/adis.c | 26 + drivers/iio/imu/adis16475.c | 1304 +++++++++++++++++ drivers/iio/imu/adis_buffer.c | 34 + drivers/iio/imu/adis_trigger.c | 63 +- include/linux/iio/imu/adis.h | 79 + 10 files changed, 1662 insertions(+), 4 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-imu-adis16475 create mode 100644 Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml create mode 100644 drivers/iio/imu/adis16475.c -- 2.25.1