Skip to content

Commit 76a1e6a

Browse files
ceclandumitrujic23
authored andcommitted
iio: adc: ad7173: add AD7173 driver
The AD7173 family offer a complete integrated Sigma-Delta ADC solution which can be used in high precision, low noise single channel applications or higher speed multiplexed applications. The Sigma-Delta ADC is intended primarily for measurement of signals close to DC but also delivers outstanding performance with input bandwidths out to ~10kHz. Reviewed-by: Andy Shevchenko <andy@kernel.org> Reviewed-by: Michael Walle <michael@walle.cc> # for gpio-regmap Signed-off-by: Dumitru Ceclan <mitrutzceclan@gmail.com> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240228110622.25114-3-mitrutzceclan@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 7b0c9f8 commit 76a1e6a

File tree

3 files changed

+1134
-0
lines changed

3 files changed

+1134
-0
lines changed

drivers/iio/adc/Kconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,23 @@ config AD7124
7070
To compile this driver as a module, choose M here: the module will be
7171
called ad7124.
7272

73+
config AD7173
74+
tristate "Analog Devices AD7173 driver"
75+
depends on SPI_MASTER
76+
select AD_SIGMA_DELTA
77+
select GPIO_REGMAP if GPIOLIB
78+
select REGMAP_SPI if GPIOLIB
79+
help
80+
Say yes here to build support for Analog Devices AD7173 and similar ADC
81+
Currently supported models:
82+
- AD7172-2
83+
- AD7173-8
84+
- AD7175-2
85+
- AD7176-2
86+
87+
To compile this driver as a module, choose M here: the module will be
88+
called ad7173.
89+
7390
config AD7192
7491
tristate "Analog Devices AD7190 AD7192 AD7193 AD7195 ADC driver"
7592
depends on SPI

drivers/iio/adc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ obj-$(CONFIG_AD7091R) += ad7091r-base.o
1111
obj-$(CONFIG_AD7091R5) += ad7091r5.o
1212
obj-$(CONFIG_AD7091R8) += ad7091r8.o
1313
obj-$(CONFIG_AD7124) += ad7124.o
14+
obj-$(CONFIG_AD7173) += ad7173.o
1415
obj-$(CONFIG_AD7192) += ad7192.o
1516
obj-$(CONFIG_AD7266) += ad7266.o
1617
obj-$(CONFIG_AD7280) += ad7280a.o

0 commit comments

Comments
 (0)