Skip to content

Commit b9cd5e4

Browse files
AndrDragomirdanmois
authored andcommitted
drivers: iio: adc: ad9213.c: Add support for ad9213
Add driver for AD9213. Signed-off-by: AndrDragomir <andrei.dragomir@analog.com> Signed-off-by: George Mois <george.mois@analog.com>
1 parent 963104f commit b9cd5e4

File tree

5 files changed

+801
-0
lines changed

5 files changed

+801
-0
lines changed

arch/microblaze/configs/adi_mb_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ CONFIG_ADM1177=y
170170
CONFIG_AD9081=y
171171
CONFIG_AD9083=y
172172
CONFIG_AD9208=y
173+
CONFIG_AD9213=y
173174
CONFIG_AD9361=y
174175
CONFIG_AD9371=y
175176
CONFIG_ADRV9009=y

drivers/iio/Kconfig.adi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ config IIO_ALL_ADI_DRIVERS
7070
imply AD9208
7171
imply AD9081
7272
imply AD9083
73+
imply AD9213
7374
imply AD9361
7475
imply AD9361_EXT_BAND_CONTROL
7576
imply AD9371

drivers/iio/adc/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,14 @@ config AD9208
561561
AD9208, AD9689, AD9695, AD9697, AD9694, AD6688, AD6684 high speed ADCs.
562562
Provides direct access via sysfs.
563563

564+
config AD9213
565+
tristate "Analog Devices AD9213 ADC"
566+
depends on SPI
567+
select IIO_BACKEND
568+
help
569+
Say yes here to build support for Analog Devices AD9213 ADC.
570+
Provides direct access via sysfs.
571+
564572
config AD9361
565573
bool "Analog Devices AD9361, AD9364 RF Agile Transceiver driver"
566574
depends on SPI

drivers/iio/adc/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ ad9208_drv-y := ad9208.o \
6262

6363
obj-$(CONFIG_AD9208) += ad9208_drv.o
6464

65+
obj-$(CONFIG_AD9213) += ad9213.o
66+
6567
ad9081_drv-y := ad9081.o \
6668
ad9081/adi_ad9081_adc.o \
6769
ad9081/adi_ad9081_device.o \

0 commit comments

Comments
 (0)