From: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
To: David Lechner <dlechner@baylibre.com>
Cc: Marcelo Schmitt <marcelo.schmitt@analog.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
cosmin.tanislav@analog.com, jic23@kernel.org, lars@metafoo.de,
granquet@baylibre.com, u.kleine-koenig@baylibre.com
Subject: Re: [PATCH v3 2/3] iio: adc: ad4130: Add filter_type attributes
Date: Tue, 4 Feb 2025 09:54:25 -0300 [thread overview]
Message-ID: <Z6IOAX8m-Jt4aZgt@debian-BULLSEYE-live-builder-AMD64> (raw)
In-Reply-To: <2f71bc82-c2c4-46d0-ae39-abfa4f2e8dc4@baylibre.com>
On 02/03, David Lechner wrote:
> On 2/3/25 1:11 PM, Marcelo Schmitt wrote:
> > Make filter control also available through filter_type attributes which are
> > now standardized in main IIO ABI documentation.
> >
> > Suggested-by: David Lechner <dlechner@baylibre.com>
> > Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
> > ---
> > Hi David, I forgot to ask if you wanted it, but I've added a suggested-by tag
> > for your advice on v2.
>
> OK with me. :-)
>
> >
> > Thanks,
> > Marcelo
> >
> > drivers/iio/adc/ad4130.c | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/drivers/iio/adc/ad4130.c b/drivers/iio/adc/ad4130.c
> > index de32cc9d18c5..66097ff65740 100644
> > --- a/drivers/iio/adc/ad4130.c
> > +++ b/drivers/iio/adc/ad4130.c
> > @@ -942,6 +942,9 @@ static const struct iio_chan_spec_ext_info ad4130_filter_mode_ext_info[] = {
>
> I suggest to add a comment here to say that the duplication is intentional and
> the filter_mode attributes are for backwards compatibility.
>
Okay, will do.
> > IIO_ENUM("filter_mode", IIO_SEPARATE, &ad4130_filter_mode_enum),
> > IIO_ENUM_AVAILABLE("filter_mode", IIO_SHARED_BY_TYPE,
> > &ad4130_filter_mode_enum),
> > + IIO_ENUM("filter_type", IIO_SEPARATE, &ad4130_filter_mode_enum),
> > + IIO_ENUM_AVAILABLE("filter_type", IIO_SHARED_BY_TYPE,
> > + &ad4130_filter_mode_enum),
> > { }
> > };
> >
>
> With that...
>
> Reviewed-by: David Lechner <dlechner@baylibre.com>
next prev parent reply other threads:[~2025-02-04 12:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-03 19:10 [PATCH v3 0/3] Re-add filter_type/filter_mode Marcelo Schmitt
2025-02-03 19:11 ` [PATCH v3 1/3] Documentation: ABI: IIO: Add filter_type documentation Marcelo Schmitt
2025-02-03 19:39 ` David Lechner
2025-02-03 19:11 ` [PATCH v3 2/3] iio: adc: ad4130: Add filter_type attributes Marcelo Schmitt
2025-02-03 19:40 ` David Lechner
2025-02-04 12:54 ` Marcelo Schmitt [this message]
2025-02-03 19:11 ` [PATCH v3 3/3] Documentation: ABI: IIO: Re-add sysfs-bus-iio-adc-ad4130 Marcelo Schmitt
2025-02-03 19:41 ` David Lechner
2025-02-04 12:53 ` Marcelo Schmitt
2025-02-04 13:00 ` Marcelo Schmitt
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=Z6IOAX8m-Jt4aZgt@debian-BULLSEYE-live-builder-AMD64 \
--to=marcelo.schmitt1@gmail.com \
--cc=cosmin.tanislav@analog.com \
--cc=dlechner@baylibre.com \
--cc=granquet@baylibre.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.schmitt@analog.com \
--cc=u.kleine-koenig@baylibre.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