From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: "Nechita, Ramona" <Ramona.Nechita@analog.com>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Tanislav, Cosmin" <Cosmin.Tanislav@analog.com>,
"Hennerich, Michael" <Michael.Hennerich@analog.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Sa, Nuno" <Nuno.Sa@analog.com>,
"David Lechner" <dlechner@baylibre.com>,
"Schmitt, Marcelo" <Marcelo.Schmitt@analog.com>,
"Olivier Moysan" <olivier.moysan@foss.st.com>,
"Dumitru Ceclan" <mitrutzceclan@gmail.com>,
"Matteo Martelli" <matteomartelli3@gmail.com>,
"João Paulo Gonçalves" <joao.goncalves@toradex.com>,
"Alisa-Dariana Roman" <alisadariana@gmail.com>,
"Mike Looijmans" <mike.looijmans@topic.nl>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH v5 2/3] Documentation: ABI: added filter mode doc in sysfs-bus-iio
Date: Fri, 13 Sep 2024 20:36:32 +0300 [thread overview]
Message-ID: <ZuR4IE-mwhL27ZG0@smile.fi.intel.com> (raw)
In-Reply-To: <SN6PR03MB4320EC2760F85BB6B0DDEED4F3652@SN6PR03MB4320.namprd03.prod.outlook.com>
On Fri, Sep 13, 2024 at 02:06:48PM +0000, Nechita, Ramona wrote:
> >>
> >> The filter mode / filter type property is used for ad4130 and ad7779
> >> drivers, therefore the ABI doc file for ad4130 was removed, merging
> >> both of them in the sysfs-bus-iio.
...
> >> +What: /sys/bus/iio/devices/iio:deviceX/filter_type_available
> >> +What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_mode_available
> >> +KernelVersion: 6.1
> >
> >I believe I have already commented on this. The commit message keeps silent about version changes. Why?
>
> I mentioned it in the cover-letter, since the attributes of two devices were
> merged, and one of them was available in 6.1 ad the other in 6.2, it felt
> appropriate to leave it as 6.1.
> I was wondering if this is ok or if it should be kept as 6.2. Should this be
> mentioned in the commit message as well?
Please, mention in the commit message.
> >> +Contact: linux-iio@vger.kernel.org
> >> +Description:
> >> + Reading returns a list with the possible filter modes. Options
> >> + for the attribute:
> >> + * "sinc3" - The digital sinc3 filter. Moderate 1st conversion time.
> >> + Good noise performance.
> >> + * "sinc4" - Sinc 4. Excellent noise performance. Long
> >> + 1st conversion time.
> >> + * "sinc5" - The digital sinc5 filter. Excellent noise performance
> >> + * "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion
> >> + time.
> >> + * "sinc3+rej60" - Sinc3 + 60Hz rejection.
> >> + * "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion
> >> + time.
> >> + * "sinc3+pf1" - Sinc3 + device specific Post Filter 1.
> >> + * "sinc3+pf2" - Sinc3 + device specific Post Filter 2.
> >> + * "sinc3+pf3" - Sinc3 + device specific Post Filter 3.
> >> + * "sinc3+pf4" - Sinc3 + device specific Post Filter 4.
> >
> >Also, the original file was more verbose for the complex cases, like
> >"sinc3+pfX", why has this been changed?
>
> Since this is a more generic file I was advised to leave out specific
> details, should I include them just as they were in the original file?
I would leave the examples for the mentioned chip in the parentheses. But it's
up to Jonathan, I have no such device anyway, so personally I'm not affected
:-)
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2024-09-13 17:36 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-12 12:15 [PATCH v5 0/3] add support for ad777x family Ramona Alexandra Nechita
2024-09-12 12:15 ` [PATCH v5 1/3] dt-bindings: iio: adc: add a7779 doc Ramona Alexandra Nechita
2024-09-12 13:15 ` Rob Herring (Arm)
2024-09-14 16:38 ` Jonathan Cameron
2024-09-12 12:15 ` [PATCH v5 2/3] Documentation: ABI: added filter mode doc in sysfs-bus-iio Ramona Alexandra Nechita
2024-09-12 14:47 ` Andy Shevchenko
2024-09-13 14:06 ` Nechita, Ramona
2024-09-13 17:36 ` Andy Shevchenko [this message]
2024-09-14 16:42 ` Jonathan Cameron
2024-09-13 4:16 ` kernel test robot
2024-09-14 16:43 ` Jonathan Cameron
2024-09-12 12:15 ` [PATCH v5 3/3] drivers: iio: adc: add support for ad777x family Ramona Alexandra Nechita
2024-09-12 15:15 ` Andy Shevchenko
2024-09-14 16:46 ` Jonathan Cameron
2024-09-14 1:44 ` kernel test robot
2024-09-14 16:48 ` Jonathan Cameron
2024-09-14 17:06 ` Jonathan Cameron
2024-09-20 13:24 ` Nechita, Ramona
2024-09-23 12:51 ` David Lechner
2024-09-28 14:29 ` Jonathan Cameron
2024-09-26 13:41 ` Nechita, Ramona
2024-09-28 14:31 ` Jonathan Cameron
2024-10-10 14:35 ` Nechita, Ramona
2024-10-10 16:40 ` 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=ZuR4IE-mwhL27ZG0@smile.fi.intel.com \
--to=andy.shevchenko@gmail.com \
--cc=Cosmin.Tanislav@analog.com \
--cc=Marcelo.Schmitt@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=Nuno.Sa@analog.com \
--cc=Ramona.Nechita@analog.com \
--cc=alisadariana@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=joao.goncalves@toradex.com \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matteomartelli3@gmail.com \
--cc=mike.looijmans@topic.nl \
--cc=mitrutzceclan@gmail.com \
--cc=olivier.moysan@foss.st.com \
--cc=robh@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