summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorOskar Andero <oskar.andero@gmail.com>2013-05-03 11:58:00 +0200
committerJonathan Cameron <jic23@kernel.org>2013-05-22 23:16:47 +0200
commitf5ce4a7a9291d9e4b9aeaeb2bf8c33808de44989 (patch)
tree126eca1e4bf602cce04a58a0c4c5c4e3110d44be /drivers/iio/adc/Kconfig
parentStaging: bcm: fix checkpatch errors and warnings in Version.h (diff)
downloadlinux-f5ce4a7a9291d9e4b9aeaeb2bf8c33808de44989.tar.xz
linux-f5ce4a7a9291d9e4b9aeaeb2bf8c33808de44989.zip
iio: adc: add driver for MCP3204/08 12-bit ADC
This adds support for Microchip's 12 bit AD converters MCP3204 and MCP3208. These chips communicates over SPI and supports single-ended and pseudo-differential configurations. Signed-off-by: Oskar Andero <oskar.andero@gmail.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> 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 ab0767e6727e..93129ec4b649 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -133,6 +133,16 @@ config MAX1363
max11646, max11647) Provides direct access via sysfs and buffered
data via the iio dev interface.
+config MCP320X
+ tristate "Microchip Technology MCP3204/08"
+ depends on SPI
+ help
+ Say yes here to build support for Microchip Technology's MCP3204 or
+ MCP3208 analog to digital converter.
+
+ This driver can also be built as a module. If so, the module will be
+ called mcp320x.
+
config TI_ADC081C
tristate "Texas Instruments ADC081C021/027"
depends on I2C