From: "Getz, Robin" <robin.getz@analog.com>
To: Alessandro Rubini <rubini@gnudd.com>
Cc: "Hennerich, Michael" <Michael.Hennerich@analog.com>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"greg@kroah.com" <greg@kroah.com>,
"federico.vaga@gmail.com" <federico.vaga@gmail.com>,
"jic23@kernel.org" <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: Re: [Device-drivers-devel] ZIO wiki analysis of IIO and why it doesn't meet there requirements [was Re: Industrial Input Output analysis]
Date: Wed, 30 Nov 2011 10:47:24 -0500 [thread overview]
Message-ID: <201111301047.25521.robin.getz@analog.com> (raw)
In-Reply-To: <20111129144449.GA14261@mail.gnudd.com>
On 2011-11-29 15:17:32 GMT Alessandro wrote:
>On 2011-11-29 14:31:11 GMT Lars-Peter wrote:
> > I just think it's a waste of resources to develop two frameworks
> > which have more or less the same architecture and serve the same
> > purpose.
>
> As I wrote in another message, I agree but not completely. Shouldn't
> we try different ideas any now and then?
trying ideas in-kernel is a great idea.
Changing the userspace ABI isn't.
> Otherwise we would all be
> using comedi. We have kde and gnome (I have neither), we have git and
> mercurial, and a zillion other examples.
I think there is a huge difference between different applications in
userspace, and different kernel interfaces - creating incompatible userspace
applications.
While it was true that there was some overlap in the early iio in staging with
other interfaces - I think most of them have been cleaned up, and the
duplication has mostly disappeared - I think this was a requirement from
Greg, and other subsystem maintainers.
I have been complaining for awhile about the similarities between comedi and
iio, and the userspace problem (people wanting to prototype on a desktop with
a PCIe card with comedi, are going to need to re-write their entire
application when moving to an embedded target) - but have not had the time to
contribute anything to solve the problem.
Using the IIO/Comedi overlap as justification to make a third subsystem which
overlaps both.... I'm not sure I follow the logic.
On 2011-11-29 18:05:53 GMT, Mark Brown pointed out:
>It's also problematic for driver authors if we end up having to work
>with two separate frameworks that fulfil the same function depending on
>which application users end up using.
Which I think sums up my big concern.
> > But I'm pretty optimistic that there is nothing in IIO which
> > prevents me from getting the right solution in place.
>
> No, definitely. We'll keep our eyes open on the project, maybe the
> final choice will be IIO for our use case, but it's too early to know.
No one is saying that the points you make about IIO aren't valid, or that ZIO
isn't going to work -- what I think everyone is saying - is let's talk about
things, and determine what the end user needs are, and what the best solution
is (It's not like in kernel subsystems don't get re-written over time, but
the kernel/userspace ABI needs to be stable).
I think all anyone is saying is please give us more feedback, and stay
involved.
> but currently our abstraction is much simpler to use.
I don't think that IIO is complicated - but it might be. It's easy to say that
when you are familiar with something. I'm sure that the documentation needs
more work - if you want to point out the sections that aren't clear - let us
know.
It also could be that ZIO doesn't handle the end user cases which created the
need for the "complication" in the API... It's difficult to say without more
details.
>I think we'll knock for feedback again when we have some drivers
>and some performance figures, meanwhile we'll continue developing in
>the zio list, keeping an eye on iio.
I think that's OK - but again - it would be good for everyone here to better
understand your use cases - so when we are working on our AD9739A 2.4 GSPS
DAC IIO driver, we can try to make sure that we incorporate what you are
looking for.
The hardware (PCB) description, and HDL only solution is here:
http://wiki.analog.com/resources/fpga/xilinx/fmc/ad9739a
we are just waiting for production hardware to show up to start on the IIO
side...
-Robin
next prev parent reply other threads:[~2011-11-30 15:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAH5GJ0qTW_DwaAVhe6ZjGYg=1CPPVuQQn3biyg+2BuYHp1Hefw@mail.gmail.com>
2011-11-27 11:05 ` ZIO wiki analysis of IIO and why it doesn't meet there requirements [was Re: Industrial Input Output analysis] Jonathan Cameron
2011-11-28 11:08 ` Lars-Peter Clausen
2011-11-28 20:14 ` Federico Vaga
2011-11-28 21:29 ` Jonathan Cameron
2011-11-29 7:10 ` Federico Vaga
2011-11-29 17:11 ` Jonathan Cameron
2011-11-29 19:04 ` Federico Vaga
2011-11-29 11:00 ` Alessandro Rubini
2011-11-29 12:54 ` Michael Hennerich
2011-11-29 14:31 ` Lars-Peter Clausen
2011-11-29 18:05 ` Mark Brown
2011-11-29 14:44 ` Alessandro Rubini
2011-11-30 15:47 ` Getz, Robin [this message]
2011-11-30 16:08 ` Hennerich, Michael
2011-11-29 15:17 ` Alessandro Rubini
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=201111301047.25521.robin.getz@analog.com \
--to=robin.getz@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=federico.vaga@gmail.com \
--cc=greg@kroah.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=rubini@gnudd.com \
/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).