Skip to content

Commit 2b7756c

Browse files
committed
iio: dac: Add MAX22007 DAC driver support
Add support for the MAX22007 4 channel DAC that drives a voltage or current output on each channel. Signed-off-by: Janani Sunil <[email protected]>
1 parent 37457ba commit 2b7756c

File tree

4 files changed

+502
-0
lines changed

4 files changed

+502
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,6 +1600,7 @@ S: Supported
16001600
W: https://ez.analog.com/linux-software-drivers
16011601
F: Documentation/devicetree/bindings/iio/dac/adi,max22007.yaml
16021602
F: Documentation/iio/max22007.rst
1603+
F: drivers/iio/dac/max22007.c
16031604

16041605
ANALOG DEVICES INC ADA4250 DRIVER
16051606
M: Antoniu Miclaus <[email protected]>

drivers/iio/dac/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,19 @@ config MAX517
482482
This driver can also be built as a module. If so, the module
483483
will be called max517.
484484

485+
config MAX22007
486+
tristate "Analog Devices MAX22007 DAC Driver"
487+
depends on SPI
488+
select REGMAP_SPI
489+
select CRC8
490+
help
491+
Say Y here if you want to build a driver for Analog Devices MAX22007.
492+
493+
MAX22007 is a quad-channel, 12-bit, voltage-output digital to
494+
analog converter (DAC) with SPI interface.
495+
496+
If compiled as a module, it will be called max22007.
497+
485498
config MAX5522
486499
tristate "Maxim MAX5522 DAC driver"
487500
depends on SPI_MASTER

drivers/iio/dac/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ obj-$(CONFIG_LTC2664) += ltc2664.o
4848
obj-$(CONFIG_LTC2688) += ltc2688.o
4949
obj-$(CONFIG_M62332) += m62332.o
5050
obj-$(CONFIG_MAX517) += max517.o
51+
obj-$(CONFIG_MAX22007) += max22007.o
5152
obj-$(CONFIG_MAX5522) += max5522.o
5253
obj-$(CONFIG_MAX5821) += max5821.o
5354
obj-$(CONFIG_MCP4725) += mcp4725.o

0 commit comments

Comments
 (0)