[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250905-iio-adc-ad7124-add-filter-support-v1-0-aee3834be6a9@baylibre.com>
Date: Fri, 05 Sep 2025 13:11:55 -0500
From: David Lechner <dlechner@...libre.com>
To: Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
David Lechner <dlechner@...libre.com>
Subject: [PATCH 0/6] iio: adc: ad7124: add filter support
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@...libre.com
prerequisite-patch-id: b70de00c7ae218fa6c1e6aca34fb4210922f6d86
Best regards,
--
David Lechner <dlechner@...libre.com>
Powered by blists - more mailing lists