[PATCH v6 0/4] Timestamp and PulSAR support for ad4000
From: Marcelo Schmitt
Date: Mon Dec 02 2024 - 09:14:30 EST
Complement the ad4000 driver with a timestamp channel, a minor adjust in
transfer timing, and support for single-channel PulSAR devices.
Change log v5 -> v6
[IIO]
- Added commas at the end of channel lists in macros.
[Device tree]
- Made compatible property doc similar to other ADC dt-bindings.
Change log v4 -> v5
[IIO]
- No changes.
[Device tree]
- Added const items for fallback compatibles.
Change log v3 -> v4
[IIO]
- No changes.
[Device tree]
- Sorted compatible strings in alphabetical order.
- Left only fallback compatibles in allOf check list for adi,sdi-pin property.
- Improved patch description with explanation about how the AD4000 and PulSAR
devices are different.
Change log v2 -> v3
[IIO]
- Reverted to direct assignment of ad4000_time_spec structs.
[Device tree]
- Moved ADAQ compatible strings to last compatible enum.
Change log v1 -> v2
- Added Suggested-by and Reviewed-by tags.
[IIO]
- Commented the removal of unused AD4000_TQUIET1_NS define in commit body.
- Made a common macro to assign ad4000_time_spec.
- Explicitly initialized PulSAR t_quiet2_ns with 0 as those don't need any quiet time.
- Improved PulSAR support commit description with more context.
- Dropped support for AD7694.
[Device tree]
- Made "cs" the default adi,sdi-pin value for PulSAR devices.
Link to v5: https://lore.kernel.org/linux-iio/cover.1732885470.git.marcelo.schmitt@xxxxxxxxxx/
Link to v4: https://lore.kernel.org/linux-iio/cover.1732660478.git.marcelo.schmitt@xxxxxxxxxx/
Link to v3: https://lore.kernel.org/linux-iio/cover.1732020224.git.marcelo.schmitt@xxxxxxxxxx/
Link to v2: https://lore.kernel.org/linux-iio/cover.1731953012.git.marcelo.schmitt@xxxxxxxxxx/
Link to v1: https://lore.kernel.org/linux-iio/cover.1731626099.git.marcelo.schmitt@xxxxxxxxxx/
Marcelo Schmitt (4):
dt-bindings: iio: adc: adi,ad4000: Add PulSAR
iio: adc: ad4000: Add timestamp channel
iio: adc: ad4000: Use device specific timing for SPI transfers
iio: adc: ad4000: Add support for PulSAR devices
.../bindings/iio/adc/adi,ad4000.yaml | 75 ++++-
drivers/iio/adc/ad4000.c | 311 +++++++++++++++---
2 files changed, 322 insertions(+), 64 deletions(-)
base-commit: a61ff7eac77e86de828fe28c4e42b8ae9ec2b195
--
2.45.2