Skip to content

Commit 7c0299e

Browse files
jackoalanjic23
authored andcommitted
iio: adc: Add support for DLN2 ADC
This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. ADC is the fourth and final component of the DLN2 for the kernel. Signed-off-by: Jack Andersen <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent eed3089 commit 7c0299e

File tree

3 files changed

+732
-0
lines changed

3 files changed

+732
-0
lines changed

drivers/iio/adc/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,15 @@ config DA9150_GPADC
239239
To compile this driver as a module, choose M here: the module will be
240240
called berlin2-adc.
241241

242+
config DLN2_ADC
243+
tristate "Diolan DLN-2 ADC driver support"
244+
depends on MFD_DLN2
245+
help
246+
Say yes here to build support for Diolan DLN-2 ADC.
247+
248+
This driver can also be built as a module. If so, the module will be
249+
called adc_dln2.
250+
242251
config ENVELOPE_DETECTOR
243252
tristate "Envelope detector using a DAC and a comparator"
244253
depends on OF

drivers/iio/adc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ obj-$(CONFIG_BERLIN2_ADC) += berlin2-adc.o
2424
obj-$(CONFIG_CC10001_ADC) += cc10001_adc.o
2525
obj-$(CONFIG_CPCAP_ADC) += cpcap-adc.o
2626
obj-$(CONFIG_DA9150_GPADC) += da9150-gpadc.o
27+
obj-$(CONFIG_DLN2_ADC) += dln2-adc.o
2728
obj-$(CONFIG_ENVELOPE_DETECTOR) += envelope-detector.o
2829
obj-$(CONFIG_EXYNOS_ADC) += exynos_adc.o
2930
obj-$(CONFIG_FSL_MX25_ADC) += fsl-imx25-gcq.o

0 commit comments

Comments
 (0)