-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add ad9375 support #474
Add ad9375 support #474
Conversation
Hi @tfcollins! I just have a few concerns about this support:
Is there a documentation for this? |
These probably get translated to specific units (dB, ms, ...). Do they have related scaling properties?
This is probably just scaled by 1/10. I would just add the same to the property.
This is just a lookup from here: https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9371#dpd_status Can you add the table to the property
This should probably be just a generic method (not a property) and it performs the toggle: https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9371#dpd_reset_control
Driver doc: https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9371 |
Yes, they have related scaling properties. I already found the conversion in the link you sent.
Okay. I'll just add the same.
Do you mean add the table only as comment or should the raw value be translated?
Do I need to add comments to the properties for documentation? I'll just read through the documentation. Thank you! |
Add a lookup mechanism for the strings so its easier to user. Property should just have basic docstrings. I would put a link to the driver doc in the class docstring |
9ff2758
to
5b3a0f6
Compare
Hi @tfcollins. This PR is now ready for review. Thanks! :) |
aa4ff21
to
684e65e
Compare
Hello @tfcollins! I think this PR is ready for review. Thanks! |
684e65e
to
3d03595
Compare
supported_parts.md
Outdated
@@ -96,8 +96,7 @@ | |||
- AD9250 | |||
- AD9265 | |||
- AD936X (Pluto, FMComms2/3/4/5, ADRV936X) | |||
- AD9371 | |||
- AD9375 | |||
- AD937X (AD9371, AD9375, ADRV937X) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be just AD9371 and AD9375 on separate lines. ADRV937X doesnt exist
81dd74d
to
b0457af
Compare
58560c6
to
af12afe
Compare
Signed-off-by: Trisha De Vera <[email protected]>
Signed-off-by: Trisha De Vera <[email protected]>
Signed-off-by: Trisha De Vera <[email protected]>
Signed-off-by: Trisha De Vera <[email protected]>
af12afe
to
51433cd
Compare
Description
Added support for ad9375 under ad937x.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How has this been tested?
The class was tested on the ADRV9375 connected to ZC706.
Test Configuration:
Documentation
If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.
Checklist: