devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 V2] iio: magnetometer: ak8975: Add support for DT and interrupt handling
@ 2013-05-07 10:41 Jacek Anaszewski
       [not found] ` <1367923299-30594-1-git-send-email-j.anaszewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jacek Anaszewski @ 2013-05-07 10:41 UTC (permalink / raw)
  To: linux-iio-u79uwXL29TY76Z2rM5mHXA
  Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	achew-DDmLM1+adcrQT0dZR+AlfA, s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ,
	Jacek Anaszewski

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-11 10:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 10:41 [PATCH 0/2 V2] iio: magnetometer: ak8975: Add support for DT and interrupt handling Jacek Anaszewski
     [not found] ` <1367923299-30594-1-git-send-email-j.anaszewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-05-07 10:41   ` [PATCH 1/2 V2] iio:ak8975 Add support for gpios DT property Jacek Anaszewski
2013-05-07 10:41   ` [PATCH 2/2 V2] iio:ak8975 Implement data ready interrupt handling Jacek Anaszewski
2013-05-11 10:00   ` [PATCH 0/2 V2] iio: magnetometer: ak8975: Add support for DT and " Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).