From: Vlad Dogaru <vlad.dogaru@intel.com>
To: jic23@kernel.org, linux-iio@vger.kernel.org
Cc: Vlad Dogaru <vlad.dogaru@intel.com>
Subject: [PATCH v2 0/3] iio: sx9500: power usage and gpio changes
Date: Sun, 12 Apr 2015 19:52:37 +0300 [thread overview]
Message-ID: <1428857560-32566-1-git-send-email-vlad.dogaru@intel.com> (raw)
The meaty patch is the first one, making the chip use exactly as much
power as needed. The other two are a code cleanup and the addition of
an optional GPIO reset pin.
In v2, an interrupt is no longer required: If none is available, raw
reads just sleep for the amount of time defined in the data sheet before
reading registers.
Vlad Dogaru (3):
iio: sx9500: optimize power usage
iio: sx9500: refactor GPIO interrupt code
iio: sx9500: add GPIO reset pin
drivers/iio/proximity/sx9500.c | 427 +++++++++++++++++++++++++++++++++--------
1 file changed, 347 insertions(+), 80 deletions(-)
--
1.9.1
next reply other threads:[~2015-04-12 16:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-12 16:52 Vlad Dogaru [this message]
2015-04-12 16:52 ` [PATCH v2 1/3] iio: sx9500: optimize power usage Vlad Dogaru
2015-04-12 17:01 ` Vlad Dogaru
2015-04-12 16:52 ` [PATCH v2 2/3] iio: sx9500: refactor GPIO interrupt code Vlad Dogaru
2015-04-12 16:52 ` [PATCH v2 3/3] iio: sx9500: add GPIO reset pin Vlad Dogaru
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=1428857560-32566-1-git-send-email-vlad.dogaru@intel.com \
--to=vlad.dogaru@intel.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.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).