[PATCH 0/2 V2] iio: magnetometer: ak8975: Add support for DT and interrupt handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches add 'data ready' interrupt handling for AK8975
magnetometer, so as to provide more efficient alternative of
waiting for the end of conversion. This short series adds also
support for parsing 'gpios' property when initializing from oftree.

This is a follow-up of the previous patchset and it includes
following improvements:

- replaced NULL with 'data' in the second argument of the free_irq calls,
  which fixes problem on the module removal
- changed the order of checking for the platform_data and added
  checking for the -EPROBE_DEFER as spotted by Lars-Peter Clausen
- moved ak8975.txt out of staging as spotted by Jonathan Cameron
- modified header description in ak8975.txt
- renamed '0C' to '0c' in the examplary device node in ak8975.txt

Thanks,
Jacek Anaszewski

Jacek Anaszewski (2):
  iio:ak8975 Add support for gpios DT property
  iio:ak8975 Implement data ready interrupt handling

 .../bindings/iio/magnetometer/ak8975.txt           |   18 ++++
 drivers/iio/magnetometer/ak8975.c                  |  103 +++++++++++++++++++-
 2 files changed, 116 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt

-- 
1.7.5.4

--
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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux