mbox series

[v6,0/4] Timestamp and PulSAR support for ad4000

Message ID cover.1733147443.git.marcelo.schmitt@analog.com (mailing list archive)
Headers show
Series Timestamp and PulSAR support for ad4000 | expand

Message

Marcelo Schmitt Dec. 2, 2024, 2:06 p.m. UTC
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@analog.com/
Link to v4: https://lore.kernel.org/linux-iio/cover.1732660478.git.marcelo.schmitt@analog.com/
Link to v3: https://lore.kernel.org/linux-iio/cover.1732020224.git.marcelo.schmitt@analog.com/
Link to v2: https://lore.kernel.org/linux-iio/cover.1731953012.git.marcelo.schmitt@analog.com/
Link to v1: https://lore.kernel.org/linux-iio/cover.1731626099.git.marcelo.schmitt@analog.com/


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

Comments

Jonathan Cameron Dec. 8, 2024, 6:49 p.m. UTC | #1
On Mon, 2 Dec 2024 11:06:27 -0300
Marcelo Schmitt <marcelo.schmitt@analog.com> wrote:

> Complement the ad4000 driver with a timestamp channel, a minor adjust in
> transfer timing, and support for single-channel PulSAR devices.
Applied to the togreg branch of iio.git and pushed out as testing for all the normal
reasons.

Thanks,

Jonathan