[PATCH 0/6] iio: adc: ad7124: add filter support

David Lechner posted 6 patches 4 days, 7 hours ago
Documentation/ABI/testing/sysfs-bus-iio |   1 +
drivers/iio/adc/ad7124.c                | 380 +++++++++++++++++++++++++-------
2 files changed, 297 insertions(+), 84 deletions(-)
[PATCH 0/6] iio: adc: ad7124: add filter support
Posted by David Lechner 4 days, 7 hours ago
The AD7124 family of chips supports a number of different filter modes.
This series eventually gets around to adding support for selecting the
filter mode at runtime after first doing some cleanups to the existing
code.

The first 3 patches are just updating things to use newer APIs.

The 4th patch is addressing a shortcoming in the driver where the
sampling_frequency attributes were being limited to an integer value.

The 5th patch is the one that finally adds support for filter_type
and filter_type_available attributes.

And the last patch documents one new filter_type that was used that we
haven't seen before.

This applies on top of "[PATCH v3] iio: adc: ad7124: fix sample rate for
multi-channel use"

---
David Lechner (6):
      iio: adc: ad7124: use clamp()
      iio: adc: ad7124: use read_avail() for scale_available
      iio: adc: ad7124: use guard(mutex) to simplify return paths
      iio: adc: ad7124: support fractional sampling_frequency
      iio: adc: ad7124: add filter support
      iio: ABI: document "sinc4+rej60" filter_type

 Documentation/ABI/testing/sysfs-bus-iio |   1 +
 drivers/iio/adc/ad7124.c                | 380 +++++++++++++++++++++++++-------
 2 files changed, 297 insertions(+), 84 deletions(-)
---
base-commit: d1487b0b78720b86ec2a2ac7acc683ec90627e5b
change-id: 20250725-iio-adc-ad7124-add-filter-support-d1c9e53f64b5
prerequisite-message-id: 20250905-iio-adc-ad7124-fix-samp-freq-for-multi-channel-v3-1-702ff014ec61@baylibre.com
prerequisite-patch-id: b70de00c7ae218fa6c1e6aca34fb4210922f6d86

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