All of lore.kernel.org
 help / color / mirror / Atom feed
* Raw data block input: is IIO a good choice?
@ 2017-04-07 21:48 Pavel Roskin
  2017-04-08  0:20 ` Jonah Petri
  0 siblings, 1 reply; 9+ messages in thread
From: Pavel Roskin @ 2017-04-07 21:48 UTC (permalink / raw)
  To: linux-iio

Hello,

I'm writing a driver for an FPGA device that collects information from
several sensors. The data is collected every 20 milliseconds (i.e. 50
times a second). The data is a 256 byte block that is put to a ring
buffer in the hardware. The software should read the data quickly to
avoid it being overwritten in the ring buffer. It is very important
not to lose any data; previous values are just as important as the
current ones. No parsing needs to be done in the kernel; the userspace
will take care of it.

Is IIO a good choice for such device? I see that the existing IIO
drivers are careful to describe all data they collect. I'm not going
to do that in the kernel (OK, maybe later to allow other utilities to
get the parsed data, but it can be done in userspace too).

I would really appreciate is somebody could point me to a driver that
implements similar functionality.

-- 
Regards,
Pavel Roskin

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

end of thread, other threads:[~2017-04-12 14:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-07 21:48 Raw data block input: is IIO a good choice? Pavel Roskin
2017-04-08  0:20 ` Jonah Petri
2017-04-08  1:47   ` Pavel Roskin
2017-04-08  3:10     ` Jonah Petri
2017-04-08  6:13       ` Pavel Roskin
2017-04-08 14:36         ` Jonathan Cameron
2017-04-11 21:01           ` Pavel Roskin
2017-04-12  0:05             ` Pavel Roskin
2017-04-12 14:36               ` 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.