Linux IIO development
 help / color / mirror / Atom feed
From: Marcelo Schmitt <marcelo.schmitt@analog.com>
To: <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <cosmin.tanislav@analog.com>, <jic23@kernel.org>,
	<lars@metafoo.de>, <marcelo.schmitt@analog.com>,
	<dlechner@baylibre.com>, <granquet@baylibre.com>,
	<u.kleine-koenig@baylibre.com>, <marcelo.schmitt1@gmail.com>
Subject: [PATCH v4 0/3] Re-add filter_type/filter_mode
Date: Tue, 4 Feb 2025 12:00:16 -0300	[thread overview]
Message-ID: <cover.1738680728.git.marcelo.schmitt@analog.com> (raw)

Better document sysfs ABI for ADC digital filter configuration.
Also update ad4130 driver to support the standardized IIO ABI for digital filter
configuration.

Change log v3 -> v4
- Renamed in_voltage-voltage_filter_mode_available to
  in_voltage-voltage_filter_type_available instead of just removing the mode
  variant from sysfs-bus-iio.
- Added comment about backwards compatibility near ad4130 filter attribute
  declarations.
- Reordered patches so attributes are documented before use.
- Minor re-word of in_voltage-voltage_filter_mode_available text in
  sysfs-bus-iio-adc-ad4130 to make it more generic.
- Picked up review tags.

Change log v2 -> v3
- Added in_voltageY-voltageZ_filter_type to main IIO ADI doc too.
- Added filter_type attributes to ad4130 driver so it also supports the
  standardized ABI for digital filter configuration.
- No longer dropping AD4130 specific filter_type_available options from sysfs-bus-iio.
- Re-add sysfs-bus-iio-adc-ad4130 just mentioning the ABI at sysfs-bus-iio instead
  of repeating the doc.

Change log v1 -> v2
- Split into 3 patches.
- Re-added sysfs-bus-iio-adc-ad4130 to keep filter_mode separate from filter_type.
- Removed in_voltage-voltage_filter_mode_available from sysfs-bus-iio.
- Added deprecation notes in sysfs-bus-iio-adc-ad4130 asking to use filter_type
  for new drivers and referencing sysfs-bus-iio.
- Improved commit message with explanation about use of filter type attributes.
- Dropped AD4130 specific filter_type_available options from sysfs-bus-iio.

Link to v1: https://lore.kernel.org/linux-iio/b2132bd3ca1d64cdd8d5afab1f1f33c574718b50.1732901318.git.marcelo.schmitt@analog.com/
Link to v2: https://lore.kernel.org/linux-iio/cover.1736261047.git.marcelo.schmitt@analog.com/
Link to v3: https://lore.kernel.org/linux-iio/cover.1738608986.git.marcelo.schmitt@analog.com/


Marcelo Schmitt (3):
  Documentation: ABI: IIO: Add filter_type documentation
  Documentation: ABI: IIO: Re-add sysfs-bus-iio-adc-ad4130
  iio: adc: ad4130: Add filter_type attributes

 Documentation/ABI/testing/sysfs-bus-iio       | 10 +++++++++-
 .../ABI/testing/sysfs-bus-iio-adc-ad4130      | 20 +++++++++++++++++++
 MAINTAINERS                                   |  1 +
 drivers/iio/adc/ad4130.c                      |  7 +++++++
 4 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-ad4130


base-commit: 9b75dd1b7d6b98699a104c6b1eec0c8817e5fd4b
-- 
2.47.2


             reply	other threads:[~2025-02-04 15:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-04 15:00 Marcelo Schmitt [this message]
2025-02-04 15:00 ` [PATCH v4 1/3] Documentation: ABI: IIO: Add filter_type documentation Marcelo Schmitt
2025-02-04 15:00 ` [PATCH v4 2/3] Documentation: ABI: IIO: Re-add sysfs-bus-iio-adc-ad4130 Marcelo Schmitt
2025-02-04 15:01 ` [PATCH v4 3/3] iio: adc: ad4130: Add filter_type attributes Marcelo Schmitt
2025-02-08 15:40 ` [PATCH v4 0/3] Re-add filter_type/filter_mode 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=cover.1738680728.git.marcelo.schmitt@analog.com \
    --to=marcelo.schmitt@analog.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.schmitt1@gmail.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