Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/3]  staging:iio:adis16130 bits and bobs.
@ 2013-04-14 11:23 Jonathan Cameron
  2013-04-14 11:23 ` [PATCH 1/3] iio:Add an IIO_VAL_INTO_PLUS_PICO return type for read_raw callbacks Jonathan Cameron
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jonathan Cameron @ 2013-04-14 11:23 UTC (permalink / raw)
  To: linux-iio; +Cc: lars, Jonathan Cameron

Hi All,

Had a few bored moments so thought I'd take a quick look at this driver.
The read function is rather odd to say the least, Lars/Michael could one of
you take a quick look at this.  Right now it does an spi sync that I think
should read the data and follows it with an additional read.  I can't
immediately see what the read is for.

Also note the introduction of IIO_INT_PLUS_PICO which is going to be common
with 24 bit plus devices.  For now I've ignored the write case as this driver
doesn't support it, but it will be needed if for example 24/16 bit options
are both supported for this driver.

Note to my mind this device is far enough away from the other adis parts
in interface to justify it's own driver.

Also could someone check my scale/offset calcs are right. It's Sunday
morning and I'm not feeling all that awake ;)

Thanks,

Jonathan 

Jonathan Cameron (3):
  iio:Add an IIO_VAL_INTO_PLUS_PICO return type for read_raw callbacks.
  staging:iio:gyro:adis16130 drop unused list.h header.
  staging:iio:gyro:adis16130 add offset and scale info mask elements.

 drivers/iio/industrialio-core.c           |  5 +++
 drivers/staging/iio/gyro/adis16130_core.c | 58 +++++++++++++++++++++++++------
 include/linux/iio/types.h                 |  1 +
 3 files changed, 53 insertions(+), 11 deletions(-)

-- 
1.8.2.1


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

end of thread, other threads:[~2013-04-14 18:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-14 11:23 [PATCH 0/3] staging:iio:adis16130 bits and bobs Jonathan Cameron
2013-04-14 11:23 ` [PATCH 1/3] iio:Add an IIO_VAL_INTO_PLUS_PICO return type for read_raw callbacks Jonathan Cameron
2013-04-14 12:22   ` Lars-Peter Clausen
2013-04-14 11:23 ` [PATCH 2/3] staging:iio:gyro:adis16130 drop unused list.h header Jonathan Cameron
2013-04-14 11:23 ` [PATCH 3/3] staging:iio:gyro:adis16130 add offset and scale info mask elements Jonathan Cameron
2013-04-14 12:20 ` [PATCH 0/3] staging:iio:adis16130 bits and bobs Lars-Peter Clausen
2013-04-14 17:53   ` Jonathan Cameron
2013-04-14 17:56     ` Jonathan Cameron
2013-04-14 18:31       ` Lars-Peter Clausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox