-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make distinction between ad3552r and axi-ad3552r
Currently we have two Linux drivers for ad3552r. There is the driver at drivers/iio/dac/ad3552r.c which is upstream and uses standard SPI interface. There is another driver at drivers/iio/dac/axi-ad3552r.c which is being polished for merging into ADI Linux and connects to the system through an AXI bus. The axi-ad3552r driver interfaces with cn0585 project HDL components for high speed DAC sampling frequency. The particularities of each driver implementation result in different set of attributes exported to user space, making it hard to support them as part of a single python class or class inheritance schema. So far, the python class named ad3552r actually supported axi-ad3552r. Make ad3552r class support ad3552r and make axi_ad3552r class support axi-ad3552r. Signed-off-by: Marcelo Schmitt <[email protected]>
- Loading branch information
1 parent
229add4
commit 4ec1114
Showing
4 changed files
with
96 additions
and
33 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