Skip to content

Commit

Permalink
Staging: IIO: DDS: AD9833 / AD9834 driver
Browse files Browse the repository at this point in the history
Changes since RFC/v1:
IIO: Apply list review feedback

Apply list review feedback:
	Rename attributes to fit IIO convention used in other drivers.
	Fix typos.
	Provide ddsX_out_enable as opposed to ddsX_out_disable.
	Use proper __devexit marking.
	Use strict_strtoul() to avoid negatives.

Changes since v2:
IIO: ad9834.c: Apply more list review feedback

	Update use of dds convenience macros.
	Fix tabbing.
	Remove superfluous brackets.
	Keep output disabled after probe.
	Remove unnecessary code.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Reviewed-by: Datta Shubhrajyoti <shubhrajyoti@ti.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 Dec 16, 2010
1 parent 4851d97 commit 12b9d5b
Show file tree
Hide file tree
Showing 4 changed files with 600 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/staging/iio/dds/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ config AD9832
Say yes here to build support for Analog Devices DDS chip
ad9832 and ad9835, provides direct access via sysfs.

config AD9834
tristate "Analog Devices ad9833/4/ driver"
depends on SPI
help
Say yes here to build support for Analog Devices DDS chip
AD9833 and AD9834, provides direct access via sysfs.

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

config AD9850
tristate "Analog Devices ad9850/1 driver"
depends on SPI
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/iio/dds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

obj-$(CONFIG_AD5930) += ad5930.o
obj-$(CONFIG_AD9832) += ad9832.o
obj-$(CONFIG_AD9834) += ad9834.o
obj-$(CONFIG_AD9850) += ad9850.o
obj-$(CONFIG_AD9852) += ad9852.o
obj-$(CONFIG_AD9910) += ad9910.o
Expand Down
Loading

0 comments on commit 12b9d5b

Please sign in to comment.