[PATCH v2 0/4] iio: adc: ad7173: add filter support

David Lechner posted 4 patches 2 weeks, 5 days ago
Documentation/ABI/testing/sysfs-bus-iio |   5 +
drivers/iio/adc/ad7173.c                | 204 +++++++++++++++++++++++++++++---
2 files changed, 195 insertions(+), 14 deletions(-)
[PATCH v2 0/4] iio: adc: ad7173: add filter support
Posted by David Lechner 2 weeks, 5 days ago
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-filter-support-v1-0-acffe401c4d2@baylibre.com

---
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>
Re: [PATCH v2 0/4] iio: adc: ad7173: add filter support
Posted by Jonathan Cameron 2 weeks, 5 days ago
On Fri, 12 Sep 2025 14:09:29 -0500
David Lechner <dlechner@baylibre.com> wrote:

> 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.

I was being lazy on resolving that and still had the previous version
in my to apply queue ;)

Anyhow, easy to resolve, I've merge v6.17-rc3 into my togreg branch.
That is also in char-misc-next so assuming I don't mess anything up
I should be able to send Greg a pull request vs that and everything
should fall out correctly.

Jonathan

> 
> ---
> 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-filter-support-v1-0-acffe401c4d2@baylibre.com
> 
> ---
> 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,