From: "Nuno Sá" <noname.nuno@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>,
Eliza Balas <Eliza.Balas@analog.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
"derek.kiernan@amd.com" <derek.kiernan@amd.com>,
"dragan.cvetic@amd.com" <dragan.cvetic@amd.com>,
Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
linux-iio@vger.kernel.org
Subject: Re: [PATCH v3 2/2] drivers: misc: adi-axi-tdd: Add TDD engine
Date: Mon, 23 Oct 2023 16:36:57 +0200 [thread overview]
Message-ID: <a1ddec9a04c8a978d50d04c69d675510b05eedb1.camel@gmail.com> (raw)
In-Reply-To: <15f25d73-32d5-4809-8096-32c856559d66@app.fastmail.com>
On Mon, 2023-10-23 at 16:19 +0200, Arnd Bergmann wrote:
> On Mon, Oct 23, 2023, at 15:30, Balas, Eliza wrote:
> > > -----Original Message-----
> > > Cvetic <dragan.cvetic@amd.com>; Arnd Bergmann <arnd@arndb.de>
> > > Subject: Re: [PATCH v3 2/2] drivers: misc: adi-axi-tdd: Add TDD engine
>
> > > > > > Since the device is not an iio device, using an iio function would
> > > > > > be confusing.
> > > > >
> > > > > Why isn't this an iio device?
> > > >
> > > > The device is not registered into the IIO device tree,
> > > > and does not rely on IIO kernel APIs.
> > > > Even though there are a few attributes that resemble the
> > > > ones from iio, and the sysfs structure is similar,
> > > > this is not an IIO device.
> > > > In the previous patch versions 1 and 2 we concluded
> > > > that this device fits better in the misc subsystem.
> > >
> > > Ok, can you point to that in the changelog where the IIO maintainer
> > > agreed that this doesn't fit into that subsystem?
> > >
> > This was one of the discussions from previous v2 :
> > https://lore.kernel.org/all/5b6318f16799e6e2575fe541e83e42e0afebe6cf.camel@gmail.com/
> >
> > I will add it to the changelog the next time I submit the patches.
>
> It sounds like Jonathan wasn't quite sure either here, and I would
> still argue (as I did in that thread), that drivers/iio is probably
> a better option than drivers/misc.
>
Well, if Jonathan agrees to have this in IIO, it would actually be better for
us... The below hack would not be needed at all and IIO is very familiar.
> In particular, you mention that you actually make this device
> appear as an IIO device to user space using the "iio-fake" hack.
>
I want to emphasize that is just our hack to make use of libiio RPC so that we
can remotely access this device.
- Nuno Sá
next prev parent reply other threads:[~2023-10-23 14:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-19 12:56 [PATCH v3 0/2] Add support for ADI TDD Engine Eliza Balas
2023-10-19 12:56 ` [PATCH v3 1/2] dt-bindings: misc: adi,axi-tdd: Add device-tree binding for TDD engine Eliza Balas
2023-10-24 19:09 ` Rob Herring
2023-10-25 10:19 ` Balas, Eliza
2023-10-19 12:56 ` [PATCH v3 2/2] drivers: misc: adi-axi-tdd: Add " Eliza Balas
2023-10-19 17:57 ` Greg Kroah-Hartman
2023-10-20 11:18 ` Balas, Eliza
2023-10-20 11:26 ` Krzysztof Kozlowski
2023-10-20 12:08 ` Balas, Eliza
2023-10-20 14:31 ` Greg Kroah-Hartman
2023-10-23 12:54 ` Balas, Eliza
2023-10-23 13:00 ` Greg Kroah-Hartman
2023-10-23 13:30 ` Balas, Eliza
2023-10-23 14:19 ` Arnd Bergmann
2023-10-23 14:36 ` Nuno Sá [this message]
2023-10-28 16:29 ` Jonathan Cameron
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=a1ddec9a04c8a978d50d04c69d675510b05eedb1.camel@gmail.com \
--to=noname.nuno@gmail.com \
--cc=Eliza.Balas@analog.com \
--cc=arnd@arndb.de \
--cc=conor+dt@kernel.org \
--cc=derek.kiernan@amd.com \
--cc=devicetree@vger.kernel.org \
--cc=dragan.cvetic@amd.com \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/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).