Skip to content

Commit 3d6a94c

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 <[email protected]>
1 parent 2e1185d commit 3d6a94c

File tree

3 files changed

+1131
-0
lines changed

3 files changed

+1131
-0
lines changed

drivers/iio/adc/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,22 @@ 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+
select REGMAP_SPI
56+
help
57+
Say yes here to build support for Analog Devices AD4052 SPI analog
58+
to digital converters (ADC).
59+
60+
To compile this driver as a module, choose M here: the module will be
61+
called ad4052.
62+
4763
config AD4130
4864
tristate "Analog Device AD4130 ADC Driver"
4965
depends on SPI

drivers/iio/adc/Makefile

Lines changed: 1 addition & 0 deletions
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)