Skip to content

AD7768 upstream#3146

Open
jansunil wants to merge 5 commits intomirror_ci/jic23/iio/testingfrom
ad7768-upstream
Open

AD7768 upstream#3146
jansunil wants to merge 5 commits intomirror_ci/jic23/iio/testingfrom
ad7768-upstream

Conversation

@jansunil
Copy link
Copy Markdown
Collaborator

@jansunil jansunil commented Feb 23, 2026

PR Description

  • Please replace this comment with a summary of your changes, and add any context
    necessary to understand them. List any dependencies required for this change.
  • To check the checkboxes below, insert a 'x' between square brackets (without
    any space), or simply check them after publishing the PR.
  • If you changes include a breaking change, please specify dependent PRs in the
    description and try to push all related PRs simultaneously.

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have conducted a self-review of my own code changes
  • I have compiled my changes, including the documentation
  • I have tested the changes on the relevant hardware
  • I have updated the documentation outside this repo accordingly
  • I have provided links for the relevant upstream lore

@jansunil jansunil changed the title Ad7768 upstream AD7768 upstream Feb 23, 2026
@jansunil jansunil force-pushed the ad7768-upstream branch 9 times, most recently from fec0c1a to 5b36ef0 Compare February 23, 2026 15:28
@github-actions github-actions bot force-pushed the mirror_ci/jic23/iio/testing branch from f9b6ebc to ca4d3a2 Compare February 24, 2026 00:00
@jansunil jansunil force-pushed the ad7768-upstream branch 5 times, most recently from 0041a58 to efef9aa Compare February 24, 2026 13:34
@jansunil jansunil marked this pull request as ready for review February 24, 2026 14:50
@gastmaier gastmaier force-pushed the mirror_ci/jic23/iio/testing branch 5 times, most recently from 214c6ba to 918d33a Compare March 13, 2026 00:09
- io-backends

patternProperties:
"^channel@[0-7]$":
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jansunil. Is it possible to add a custom property to the channels for enabling/disabling it over dt overlay? For example, 'adi,enable' or 'adi,status'. It would be great to be able to manage channels without removing the whole node from dt. @nunojsa any thoughts?

@gastmaier gastmaier force-pushed the mirror_ci/jic23/iio/testing branch 7 times, most recently from 0752e8a to 64b0d72 Compare March 21, 2026 00:10
@gastmaier gastmaier force-pushed the mirror_ci/jic23/iio/testing branch 8 times, most recently from 35d7490 to f72b5db Compare March 30, 2026 00:12
@jansunil jansunil force-pushed the ad7768-upstream branch 2 times, most recently from a41885c to 6b1c63e Compare March 30, 2026 12:43
Devicetree Bindings for AD7768-4 (4 channel) and AD7768 (8 channel)
simulataneous sampling ADC

Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Add IIO backend support for CRC enable and disable

Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Add support for enabling and disabling Cyclic Redundancy Check (CRC)
processing in the AXI ADC backend. CRC provides data integrity verification
for high-speed ADC data streams, ensuring reliable data transfer between
the ADC frontend and backend processing systems.

Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Add support for AD7768 4/8 channel,simultaneous sampling Sigma-Delta ADC

Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Add driver documentation for AD7768

Signed-off-by: Janani Sunil <janani.sunil@analog.com>
@jansunil
Copy link
Copy Markdown
Collaborator Author

Changlog v1:
1) Update maintainers file to include an entry for the DT binding header
2) Move required section in the adi,ad7768.yaml after pattern properties
3) Drop '-v' in the adi,common-mode-output-v property
4) Add a better doxygen description for the CRC enable/disable function
5) Update commit message for the adi-axi-adc.c file changes
6) Update kconfig entries to use one liners wherever necessary, remove wrong addition of REGMAP_SPI in config AXI ADC
7) Use pm_ptr for pm ops
8) Modify incorrect indentation in the ad7768_driver definition
9) Remove trailing comma in the last entry in ad7768_of_match[] and ad7768_spi_id[] declaration, add spaces between {}
10) Use scoped guards from cleanup.h in relevant instances in the driver
11) Add regmap_config member in the chip_info
12) Use devm_mutex_init and devm_err_probe wherever applicable
13) Remove initialization fro prebuf1_mask_val and prebuf2_mask_val
14) Use static_assert in place of BUILD_BUG_ON()
15) Add helper functions for IIO_CHAN_INFO_CALIBBIAS and IIO_CHAN_INFO_CALIBSCALE cases
16) Add reset framework with GPIO based fallback
Wrap lines to 80 column width wherever applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants