Skip to content

Commit

Permalink
iio: adc: Add support for DLN2 ADC
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jackoalan authored and jic23 committed Jul 9, 2017
1 parent eed3089 commit 7c0299e
Show file tree
Hide file tree
Showing 3 changed files with 732 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/iio/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,15 @@ config DA9150_GPADC
To compile this driver as a module, choose M here: the module will be
called berlin2-adc.

config DLN2_ADC
tristate "Diolan DLN-2 ADC driver support"
depends on MFD_DLN2
help
Say yes here to build support for Diolan DLN-2 ADC.

This driver can also be built as a module. If so, the module will be
called adc_dln2.

config ENVELOPE_DETECTOR
tristate "Envelope detector using a DAC and a comparator"
depends on OF
Expand Down
1 change: 1 addition & 0 deletions drivers/iio/adc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ obj-$(CONFIG_BERLIN2_ADC) += berlin2-adc.o
obj-$(CONFIG_CC10001_ADC) += cc10001_adc.o
obj-$(CONFIG_CPCAP_ADC) += cpcap-adc.o
obj-$(CONFIG_DA9150_GPADC) += da9150-gpadc.o
obj-$(CONFIG_DLN2_ADC) += dln2-adc.o
obj-$(CONFIG_ENVELOPE_DETECTOR) += envelope-detector.o
obj-$(CONFIG_EXYNOS_ADC) += exynos_adc.o
obj-$(CONFIG_FSL_MX25_ADC) += fsl-imx25-gcq.o
Expand Down
Loading

0 comments on commit 7c0299e

Please sign in to comment.