devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacek Anaszewski <j.anaszewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
To: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	achew-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
	s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	Jacek Anaszewski
	<j.anaszewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Subject: [PATCH 0/2 V2] iio: magnetometer: ak8975: Add support for DT and interrupt handling
Date: Tue, 07 May 2013 12:41:37 +0200	[thread overview]
Message-ID: <1367923299-30594-1-git-send-email-j.anaszewski@samsung.com> (raw)

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

             reply	other threads:[~2013-05-07 10:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 10:41 Jacek Anaszewski [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367923299-30594-1-git-send-email-j.anaszewski@samsung.com \
    --to=j.anaszewski-sze3o3uu22jbdgjk7y7tuq@public.gmane.org \
    --cc=achew-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).