Skip to contentSkip to conversation

iio: Add MCP3422 high resolution ADC

PATCH New Angelo Compagnucci 1 participant 1 message Aug 6, 2013 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: Add MCP3422 high resolution ADC

Hello people,

The MCP3422/3/4 chip family is an high resolution ADC (18 bits) from Microchip with an I2C interface. It has variable resolution (12, 14, 16, 18 bits) which determines the sampling frequency (240, 60, 15, 5 samples/sec), a variable gain (1x, 2x, 4x, 8x) and a variable number of input channels (2-4) depending on the chip version.

drivers/iio/adc/Kconfig +10 -0
index 93129ec..12c26a9 100644
@@ -167,4 +167,14 @@ config VIPERBOARD_ADC
 	  Say yes here to access the ADC part of the Nano River
 	  Technologies Viperboard.
 
+config MCP3422
+	tristate "Microchip Technology MCP3422/3/4 driver"
+	depends on I2C
+	help
+	  Say yes here to build support for Microchip Technology's MCP3422,
+	  MCP3423 or MCP3424 analog to digital converters.
+
+	  This driver can also be built as a module. If so, the module will be
+	  called mcp3422.
+
 endmenu
drivers/iio/adc/Makefile +1 -0
index 8f475d3..416923d 100644
@@ -18,3 +18,4 @@ obj-$(CONFIG_MCP320X) += mcp320x.o
 obj-$(CONFIG_TI_ADC081C) += ti-adc081c.o
 obj-$(CONFIG_TI_AM335X_ADC) += ti_am335x_adc.o
 obj-$(CONFIG_VIPERBOARD_ADC) += viperboard_adc.o
+obj-$(CONFIG_MCP3422) += mcp3422.o
drivers/iio/adc/mcp3422.c new file +400 -0

400 lines not on this page · raw message