-
Notifications
You must be signed in to change notification settings - Fork 846
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: adc: ad9371: Add support for setting the SYSREF rate
The frequency of the SYSREF signal needs to be a integer division of the LMFC frequency of the converter. The LMFC depends on the sample rate as well as the JESD204 link settings. At the moment it is up to somebody with system knowledge to configure the SYSREF frequency beforehand so it matches the requirements. Add some code to the driver that verifies that the currently selected SYSREF frequency is OK and if it is not reconfigure the clock rate of the SYSREF provider. Signed-off-by: Michael Hennerich <[email protected]>
- Loading branch information
1 parent
79ebf11
commit 2b0ee59
Showing
5 changed files
with
160 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters