Skip to content

Commit 008cb40

Browse files
MarielTinaconunojsa
authored andcommitted
iio: dac: support the ad8460 Waveform DAC
The AD8460 is a “bits in, power out” high voltage, high-power, high-speed driver optimized for large output current (up to ±1 A) and high slew rate (up to ±1800 V/μs) at high voltage (up to ±40 V) into capacitive loads. A digital engine implements user-configurable features: modes for digital input, programmable supply current, and fault monitoring and programmable protection settings for output current, output voltage, and junction temperature. The AD8460 operates on high voltage dual supplies up to ±55 V and a single low voltage supply of 5 V. Backported few API's not yet compatible with ADI linux fork devm_iio_dmaengine_buffer_setup_ext - Reverted to "devm_iio_dmaengine_buffer_setup" devm_mutex_init - Reverted to "mutex_init" in_range - Used explicit range checking Signed-off-by: Mariel Tinaco <Mariel.Tinaco@analog.com> Link: https://patch.msgid.link/20240912095435.18639-3-Mariel.Tinaco@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent e79347c commit 008cb40

File tree

4 files changed

+957
-0
lines changed

4 files changed

+957
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,7 @@ L: linux-iio@vger.kernel.org
13471347
S: Supported
13481348
W: https://ez.analog.com/linux-software-drivers
13491349
F: Documentation/devicetree/bindings/iio/dac/adi,ad8460.yaml
1350+
F: drivers/iio/dac/ad8460.c
13501351

13511352
ANALOG DEVICES INC AD9389B DRIVER
13521353
M: Hans Verkuil <hverkuil-cisco@xs4all.nl>

drivers/iio/dac/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,19 @@ config AD7303
276276
To compile this driver as module choose M here: the module will be called
277277
ad7303.
278278

279+
config AD8460
280+
tristate "Analog Devices AD8460 DAC driver"
281+
depends on SPI
282+
select REGMAP_SPI
283+
select IIO_BUFFER
284+
select IIO_BUFFER_DMAENGINE
285+
help
286+
Say yes here to build support for Analog Devices AD8460 Digital to
287+
Analog Converters (DAC).
288+
289+
To compile this driver as a module choose M here: the module will be called
290+
ad8460.
291+
279292
config AD8801
280293
tristate "Analog Devices AD8801/AD8803 DAC driver"
281294
depends on SPI_MASTER

drivers/iio/dac/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ obj-$(CONFIG_AD5686_SPI) += ad5686-spi.o
2929
obj-$(CONFIG_AD5696_I2C) += ad5696-i2c.o
3030
obj-$(CONFIG_AD7293) += ad7293.o
3131
obj-$(CONFIG_AD7303) += ad7303.o
32+
obj-$(CONFIG_AD8460) += ad8460.o
3233
obj-$(CONFIG_AD8801) += ad8801.o
3334
obj-$(CONFIG_CIO_DAC) += cio-dac.o
3435
obj-$(CONFIG_DPOT_DAC) += dpot-dac.o

0 commit comments

Comments
 (0)