All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] staging:iio:adis16350 various updates and fixes
@ 2010-09-05 22:20 Jonathan Cameron
  2010-09-05 22:20 ` [PATCH 1/4] staging:iio:adis16350 add non burst buffer fill and fix burst logic Jonathan Cameron
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jonathan Cameron @ 2010-09-05 22:20 UTC (permalink / raw)
  To: linux-iio; +Cc: manuel.stahl, drivers, Jonathan Cameron

The first patch fixes a bug in the current driver.  It assumes
all devices supported can do burst reads.  At least if the data
sheets are to be believed this is only available in the newer
models.

Patch 2 fixes an issue that has snuck into a number of drivers.
The use of an event for the trigger code on lis3l02dq was needed
because it uses the same physical line for datardy and threshold
interrupts (though not at the same time).  This device has two
physical lines. In my view it is reasonable to assume anyone wanting
both datardy triggering and events can select at compile time which
comes out of which pin (or if only one pin is connected, they can
set what it does.) Right now I haven't put the platform data in place
to do this.  This needs to be tested before I send this patch set
to Greg.

Patch 3 puts in event support.  It's complex, but then what the
device has some complex abilities. Still if anyone can see any
simplifications without breaking the interface I would definitely
like to hear them!

Patch 4 is trivial fix picked up by sparse whilst checking
the other patches.

Thanks,

Jonathan Cameron (4):
  staging:iio:adis16350 add non burst buffer fill and fix burst logic
  staging:iio:adis16350 move datardy trigger to straight interrupt.
  staging:iio:adis16350 Add optional event support
  staging:iio:adis16350 add missing registration of temp_offset attr

 drivers/staging/iio/adc/adc.h               |    8 ++-
 drivers/staging/iio/gyro/gyro.h             |   31 +++++++---
 drivers/staging/iio/imu/Kconfig             |    7 ++
 drivers/staging/iio/imu/Makefile            |    1 +
 drivers/staging/iio/imu/adis16350.h         |   64 +++++++++++++++++----
 drivers/staging/iio/imu/adis16350_core.c    |   54 +++++++----------
 drivers/staging/iio/imu/adis16350_ring.c    |   85 +++++++++++++++++++++++----
 drivers/staging/iio/imu/adis16350_trigger.c |   52 +++++------------
 drivers/staging/iio/sysfs.h                 |   17 +++++-
 9 files changed, 216 insertions(+), 103 deletions(-)

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

end of thread, other threads:[~2010-09-09 23:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-05 22:20 [RFC PATCH 0/4] staging:iio:adis16350 various updates and fixes Jonathan Cameron
2010-09-05 22:20 ` [PATCH 1/4] staging:iio:adis16350 add non burst buffer fill and fix burst logic Jonathan Cameron
2010-09-05 22:20 ` [PATCH 2/4] staging:iio:adis16350 move datardy trigger to straight interrupt Jonathan Cameron
2010-09-06  8:13   ` Manuel Stahl
2010-09-06 11:50     ` Jonathan Cameron
2010-09-05 22:20 ` [PATCH 3/4] staging:iio:adis16350 Add optional event support Jonathan Cameron
2010-09-09 23:11   ` Jonathan Cameron
2010-09-05 22:20 ` [PATCH 4/4] staging:iio:adis16350 add missing registration of temp_offset attr Jonathan Cameron
2010-09-06  9:00 ` [RFC PATCH 0/4] staging:iio:adis16350 various updates and fixes Manuel Stahl
2010-09-06 11:49   ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.