Skip to contentSkip to conversation

PATCH [email protected] 1 participant 1 message Jun 5, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

From: Stefan Popa <[email protected]>
To: [email protected],
[email protected],
[email protected]
Cc: [email protected],
[email protected],
[email protected],
[email protected],
[email protected], [email protected], [email protected],
[email protected],
[email protected],
[email protected], [email protected],
[email protected],
[email protected],
[email protected], [email protected], [email protected]
Subject: [PATCH 1/2] iio: dac: Add AD5758 support
Date: Tue, 5 Jun 2018 16:52:34 +0300
Message-Id: <[email protected]>
X-Mailer: git-send-email 2.7.4

The AD5758 is a single channel DAC with 16-bit precision which uses the SPI interface that operates at clock rates up to 50MHz.

The output can be configured as voltage or current and is available on a single terminal.

Datasheet:
http://www.analog.com/media/en/technical-documentation/data-sheets/ad5758.pdf

---
 MAINTAINERS              |   7 +
 drivers/iio/dac/Kconfig  |  10 +
 drivers/iio/dac/Makefile |   1 +
 drivers/iio/dac/ad5758.c | 826 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 844 insertions(+)
 create mode 100644 drivers/iio/dac/ad5758.c
MAINTAINERS +7 -0
index 4b65225..1993779 100644
@@ -802,6 +802,13 @@ S:	Supported
 F:	drivers/iio/dac/ad5686*
 F:	drivers/iio/dac/ad5696*
 
+ANALOG DEVICES INC AD5758 DRIVER
+M:	Stefan Popa <[email protected]>
+L:	[email protected]
+W:	http://ez.analog.com/community/linux-device-drivers
+S:	Supported
+F:	drivers/iio/dac/ad5758.c
+
 ANALOG DEVICES INC AD9389B DRIVER
 M:	Hans Verkuil <[email protected]>
 L:	[email protected]
drivers/iio/dac/Kconfig +10 -0
index 06e90de..80beb64 100644
@@ -167,6 +167,16 @@ config AD5755
 	  To compile this driver as a module, choose M here: the
 	  module will be called ad5755.
 
+config AD5758
+	tristate "Analog Devices AD5758 DAC driver"
+	depends on SPI_MASTER
+	help
+	  Say yes here to build support for Analog Devices AD5758 single channel
+	  Digital to Analog Converter.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called ad5758.
+
 config AD5761
 	tristate "Analog Devices AD5761/61R/21/21R DAC driver"
 	depends on SPI_MASTER
drivers/iio/dac/Makefile +1 -0
index 57aa230..e859f2d 100644
@@ -16,6 +16,7 @@ obj-$(CONFIG_AD5592R_BASE) += ad5592r-base.o
 obj-$(CONFIG_AD5592R) += ad5592r.o
 obj-$(CONFIG_AD5593R) += ad5593r.o
 obj-$(CONFIG_AD5755) += ad5755.o
+obj-$(CONFIG_AD5758) += ad5758.o
 obj-$(CONFIG_AD5761) += ad5761.o
 obj-$(CONFIG_AD5764) += ad5764.o
 obj-$(CONFIG_AD5791) += ad5791.o
drivers/iio/dac/ad5758.c new file +826 -0

826 lines not on this page · raw message

Signature · 1 line
2.7.4