Skip to content

Commit

Permalink
Staging: IIO: DDS: AD9832 / AD9835 driver
Browse files Browse the repository at this point in the history
This is a complete rewrite of the AD9832/35 driver.
Purpose was to move this driver to the recently
created API for such devices.

Changes since V1:
IIO: DDS: AD9832 / AD9835 driver: Apply review feedback

Save a few bytes, use union for data allocated for spi buffers.
Remove use of device IDs.
Fix comments.
Make master clock mclk always type unsigned long.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Michael Hennerich authored and Greg Kroah-Hartman committed Feb 9, 2011
1 parent f9a7e9b commit ea70758
Show file tree
Hide file tree
Showing 3 changed files with 436 additions and 185 deletions.
5 changes: 4 additions & 1 deletion drivers/staging/iio/dds/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ config AD9832
depends on SPI
help
Say yes here to build support for Analog Devices DDS chip
ad9832 and ad9835, provides direct access via sysfs.
AD9832 and AD9835, provides direct access via sysfs.

To compile this driver as a module, choose M here: the
module will be called ad9832.

config AD9834
tristate "Analog Devices ad9833/4/ driver"
Expand Down
Loading

0 comments on commit ea70758

Please sign in to comment.