Skip to content

Commit a7524bc

Browse files
committed
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 80c0ca2 commit a7524bc

File tree

3 files changed

+1245
-0
lines changed

3 files changed

+1245
-0
lines changed

drivers/iio/adc/Kconfig

+14
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,20 @@ config AD400X
5656
To compile this driver as a module, choose M here: the module will be
5757
called ad400x.
5858

59+
config AD4052
60+
tristate "Analog Devices AD4052 Driver"
61+
depends on SPI && PWM
62+
select IIO_BUFFER
63+
select IIO_BUFFER_DMA
64+
select IIO_BUFFER_DMAENGINE
65+
select REGMAP_SPI
66+
help
67+
Say yes here to build support for Analog Devices AD4052 SPI analog
68+
to digital converters (ADC).
69+
70+
To compile this driver as a module, choose M here: the module will be
71+
called ad4052.
72+
5973
config AD4130
6074
tristate "Analog Device AD4130 ADC Driver"
6175
depends on SPI

drivers/iio/adc/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
99
obj-$(CONFIG_AD_PULSAR) += ad_pulsar.o
1010
obj-$(CONFIG_AD400X) += ad400x.o
1111
obj-$(CONFIG_AD4000) += ad4000.o
12+
obj-$(CONFIG_AD4052) += ad4052.o
1213
obj-$(CONFIG_AD4130) += ad4130.o
1314
obj-$(CONFIG_AD4134) += ad4134.o
1415
obj-$(CONFIG_AD4630) += ad4630.o

0 commit comments

Comments
 (0)