From: Eugene Zaikonnikov <ez@norphonic.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>,
development@norphonic.com, Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
linux-iio <linux-iio@vger.kernel.org>
Subject: Re: [PATCH v9 1/2] iio: humidity: Add TI HDC20x0 support
Date: Tue, 04 Aug 2020 12:23:56 +0200 [thread overview]
Message-ID: <86zh7ak8ub.fsf@norphonic.com> (raw)
In-Reply-To: <20200712115444.49dc18c6@archlinux>
Hello,
Jonathan Cameron <jic23@kernel.org> writes:
> On Sat, 11 Jul 2020 18:27:09 +0300
> Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
>
[...]
>> 4. IIO_CONST_ATTR can be one line, but hey don't we have IIO core to
>> take care of it?
>
> For that one, we could indeed use the read_avail callback here
> for the out_current_heater_raw_available. I've not yet started insisting
> on this because of the huge number of drivers that predate introduction of
> that stuff to the core and as a result a lack of good examples.
> Eugene, if you are happy to change this one over to that and hence act
> as an example it would be great!
>
Just looked into that.
We use this driver here with trees as early as 4.9.11, and it does not
appear to have this callback in iio_info yet. Hope it's OK as it is in
this iteration.
--
Regards,
Eugene Zaikonnikov
Norphonic AS
Tel: +47 98 23 97 73
next prev parent reply other threads:[~2020-08-04 10:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-10 11:53 [PATCH v9 1/2] iio: humidity: Add TI HDC20x0 support Eugene Zaikonnikov
2020-07-10 12:20 ` [PATCH v9 2/2] dt-bindings: " Eugene Zaikonnikov
2020-07-12 10:59 ` Jonathan Cameron
2020-07-13 15:38 ` Rob Herring
2020-07-11 15:16 ` [PATCH v9 1/2] " Andy Shevchenko
2020-07-11 15:27 ` Andy Shevchenko
2020-07-12 10:54 ` Jonathan Cameron
2020-08-04 10:23 ` Eugene Zaikonnikov [this message]
2020-08-06 18:46 ` Jonathan Cameron
2020-08-07 7:28 ` Eugene Zaikonnikov
2020-08-03 14:43 ` Eugene Zaikonnikov
2020-08-03 16:37 ` Andy Shevchenko
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=86zh7ak8ub.fsf@norphonic.com \
--to=ez@norphonic.com \
--cc=andy.shevchenko@gmail.com \
--cc=development@norphonic.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.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).