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>
This commit is contained in:

committed by
Jonathan Cameron

parent
1c118b7230
commit
a583c24dee
@@ -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
|
||||
|
Reference in New Issue
Block a user