linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] iio: sx9500: power usage and gpio changes
@ 2015-04-12 16:52 Vlad Dogaru
  2015-04-12 16:52 ` [PATCH v2 1/3] iio: sx9500: optimize power usage Vlad Dogaru
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vlad Dogaru @ 2015-04-12 16:52 UTC (permalink / raw)
  To: jic23, linux-iio; +Cc: Vlad Dogaru

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


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

end of thread, other threads:[~2015-04-12 17:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-12 16:52 [PATCH v2 0/3] iio: sx9500: power usage and gpio changes Vlad Dogaru
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

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