Skip to content

Commit 171cc1b

Browse files
committed
drivers: iio: adc: add support for ad4052
The AD4052/AD4058/AD4050/AD4056 are versatile, 16-bit/12-bit, successive approximation register (SAR) analog-to-digital converter (ADC) that enables low-power, high-density data acquisition solutions without sacrificing precision. This ADC offers a unique balance of performance and power efficiency, plus innovative features for seamlessly switching between high-resolution and low-power modes tailored to the immediate needs of the system. The AD4052/AD4058/AD4050/AD4056 are ideal for battery-powered, compact data acquisition and edge sensing applications. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
1 parent ff26ad5 commit 171cc1b

File tree

3 files changed

+1183
-0
lines changed

3 files changed

+1183
-0
lines changed

drivers/iio/adc/Kconfig

+15
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,21 @@ config AD400X
4444
To compile this driver as a module, choose M here: the module will be
4545
called ad400x.
4646

47+
config AD4052
48+
tristate "Analog Devices AD4052 Driver"
49+
depends on SPI
50+
depends on PWM
51+
depends on GPIOLIB
52+
select IIO_BUFFER
53+
select IIO_BUFFER_DMA
54+
select IIO_BUFFER_DMAENGINE
55+
help
56+
Say yes here to build support for Analog Devices AD4052 SPI analog
57+
to digital converters (ADC).
58+
59+
To compile this driver as a module, choose M here: the module will be
60+
called ad4052.
61+
4762
config AD4130
4863
tristate "Analog Device AD4130 ADC Driver"
4964
depends on SPI

drivers/iio/adc/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
88
obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
99
obj-$(CONFIG_AD_PULSAR) += ad_pulsar.o
1010
obj-$(CONFIG_AD400X) += ad400x.o
11+
obj-$(CONFIG_AD4052) += ad4052.o
1112
obj-$(CONFIG_AD4130) += ad4130.o
1213
obj-$(CONFIG_AD4134) += ad4134.o
1314
obj-$(CONFIG_AD4630) += ad4630.o

0 commit comments

Comments
 (0)