aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2016-03-12 13:30:14 +0100
committerJonathan Cameron <jic23@kernel.org>2016-03-12 18:11:48 +0000
commita583c24deefdaaaf5bd96a1117b850904a294804 (patch)
tree3f35692c8468022e32d03dd1178408f57e237605 /drivers/iio/adc/Kconfig
parentstaging: iio: ad7192: use iio_device_{claim|release}_direct_mode() (diff)
downloadlinux-dev-a583c24deefdaaaf5bd96a1117b850904a294804.tar.xz
linux-dev-a583c24deefdaaaf5bd96a1117b850904a294804.zip
iio: adc: add NXP LPC18xx ADC driver
Add base support for the 10-bit SAR ADC peripheral found on NXP LPC18xx/43xx SoCs. This is a minimal driver that does not support burst mode, interrupts, DMA or hardware triggers. User manual with register description can be found on: LPC18xx: www.nxp.com/documents/user_manual/UM10430.pdf LPC43xx: www.nxp.com/documents/user_manual/UM10503.pdf Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index a8819a08a828..9ddcd5db039b 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -235,6 +235,16 @@ config LP8788_ADC
To compile this driver as a module, choose M here: the module will be
called lp8788_adc.
+config LPC18XX_ADC
+ tristate "NXP LPC18xx ADC driver"
+ depends on ARCH_LPC18XX || COMPILE_TEST
+ depends on OF && HAS_IOMEM
+ help
+ Say yes here to build support for NXP LPC18XX ADC.
+
+ To compile this driver as a module, choose M here: the module will be
+ called lpc18xx_adc.
+
config MAX1027
tristate "Maxim max1027 ADC driver"
depends on SPI