Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for AD9161 #2707

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Changes for AD9161 #2707

wants to merge 2 commits into from

Conversation

cristianmihaipopa
Copy link
Collaborator

PR Description

The devicetree was added for the EVAL-AD9161 board working in MODE 8 on ZCU102. A small change was made to the jesd api. The current changes would make the jesd crash. AD9161 and AD9162 are very similar, and both have min. interpolation 2. Currently, AD9162 works perfectly, but for AD9162 interpolation is not validated. The new changes allow validation for this interpolation for AD9161.

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 tested the changes on the relevant hardware
  • I have updated the documentation outside this repo accordingly (if there is the case)

Small change modifying check_interpolation_range()
function, as the current changes won't allow AD9161
to work properly. Default interpolation for AD9161 is
2, as it is for AD9162. Current changes would throw,
API_ERROR_INVALID_PARAM and jesd woudln't work. The
new changes fix this problem. Was tested in hardware.

Signed-off-by: Cristian Mihai Popa <cristianmihai.popa@analog.com>
The devicetree was added for EVAL-AD9161 board
working in MODE 8 on ZCU102.

Signed-off-by: Cristian Mihai Popa <cristianmihai.popa@analog.com>
@cristianmihaipopa cristianmihaipopa changed the title arm64: dts: xilinx: Add dts for Ad9161 Changes for AD9161 Feb 3, 2025
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.

2 participants