Skip to contentSkip to conversation

staging: iio: dds: ad9834: Enable driver support for AD9833 and AD9834 DDS devices

RFC New [email protected] 1 participant 1 message Nov 29, 2010

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

RFC 1/1 staging: iio: dds: ad9834: Enable driver support for AD9833 and AD9834 DDS devices

From: Michael Hennerich <[email protected]>

---
 drivers/staging/iio/dds/Kconfig  |   11 +-
 drivers/staging/iio/dds/Makefile |    1 +
 drivers/staging/iio/dds/ad9834.c |  348 ++++++++++++++++++++++++++++++++++++++
 drivers/staging/iio/dds/dds.h    |   99 +++++++++++
 4 files changed, 457 insertions(+), 2 deletions(-)
 create mode 100644 drivers/staging/iio/dds/ad9834.c
 create mode 100644 drivers/staging/iio/dds/dds.h
drivers/staging/iio/dds/Kconfig +9 -2
index d045ed6..4c9cce3 100644
@@ -11,11 +11,18 @@ config AD5930
 	  ad5930/ad5932, provides direct access via sysfs.
 
 config AD9832
-	tristate "Analog Devices ad9832/3/4/5 driver"
+	tristate "Analog Devices ad9832/5 driver"
 	depends on SPI
 	help
 	  Say yes here to build support for Analog Devices DDS chip
-	  ad9832/3/4/5, provides direct access via sysfs.
+	  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.
 
 config AD9850
 	tristate "Analog Devices ad9850/1 driver"
drivers/staging/iio/dds/Makefile +1 -0
index 6f274ac..1477461 100644
@@ -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
drivers/staging/iio/dds/ad9834.c new file +348 -0

348 lines not on this page · raw message

drivers/staging/iio/dds/dds.h new file +99 -0

99 lines not on this page · raw message

--
1.6.0.2