|
|
Log in / Subscribe / Register

iio: adc: ad7173: add filter support

From:  David Lechner <dlechner-AT-baylibre.com>
To:  Michael Hennerich <Michael.Hennerich-AT-analog.com>, Jonathan Cameron <jic23-AT-kernel.org>, Nuno Sá <nuno.sa-AT-analog.com>, Andy Shevchenko <andy-AT-kernel.org>
Subject:  [PATCH v2 0/4] iio: adc: ad7173: add filter support
Date:  Fri, 12 Sep 2025 14:09:29 -0500
Message-ID:  <20250912-iio-adc-ad7137-add-filter-support-v2-0-bd32dfa3d761@baylibre.com>
Cc:  linux-iio-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, David Lechner <dlechner-AT-baylibre.com>
Archive-link:  Article

Adding yet another feature to the ad7173 driver, this time,
filter support.

There are a couple of leading patches to rename some stuff to minimize
the diff in the main patch where filter support is actually added.

This was tested on the EVAL-AD7173-8ARDZ evaluation board.

There is still one fix sitting on iio-fixes-for-6.17a that needs to be
merged back into testing/togreg before this can be applied.

---
Changes in v2:
- Dropped filter ABI alphabetization patch that was already applied.
- Fixed ord/odr typo.
- Fixed typo in cover letter subject.
- Picked up Nuno's review tags (I didn't do anything about the race
  condition since I don't think adding locking to the filter_type
  attribute read would actually change anything in practice).
- Link to v1: https://lore.kernel.org/r/20250710-iio-adc-ad7137-add-fil...

---
David Lechner (4):
      iio: adc: ad7173: rename ad7173_chan_spec_ext_info
      iio: adc: ad7173: rename odr field
      iio: adc: ad7173: support changing filter type
      iio: ABI: add filter types for ad7173

 Documentation/ABI/testing/sysfs-bus-iio |   5 +
 drivers/iio/adc/ad7173.c                | 204 +++++++++++++++++++++++++++++---
 2 files changed, 195 insertions(+), 14 deletions(-)
---
base-commit: b8902d55155cec7bd743dc1129e0b32e70b1751f
change-id: 20250710-iio-adc-ad7137-add-filter-support-d0ffaa92afc9
prerequisite-patch-id: d020799a8e7fcc092607923f977b62490c83f11d

Best regards,
-- 
David Lechner <dlechner@baylibre.com>




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds