Skip to content

Commit 07914c8

Browse files
angelocjic23
authored andcommitted
iio: adc: Add driver for Microchip MCP3422/3/4 high resolution ADC
Sysfs access to all channels. Signed-off-by: Angelo Compagnucci <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent b658a37 commit 07914c8

File tree

3 files changed

+420
-0
lines changed

3 files changed

+420
-0
lines changed

drivers/iio/adc/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,16 @@ config MCP320X
145145
This driver can also be built as a module. If so, the module will be
146146
called mcp320x.
147147

148+
config MCP3422
149+
tristate "Microchip Technology MCP3422/3/4 driver"
150+
depends on I2C
151+
help
152+
Say yes here to build support for Microchip Technology's MCP3422,
153+
MCP3423 or MCP3424 analog to digital converters.
154+
155+
This driver can also be built as a module. If so, the module will be
156+
called mcp3422.
157+
148158
config NAU7802
149159
tristate "Nuvoton NAU7802 ADC driver"
150160
depends on I2C

drivers/iio/adc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ obj-$(CONFIG_EXYNOS_ADC) += exynos_adc.o
1616
obj-$(CONFIG_LP8788_ADC) += lp8788_adc.o
1717
obj-$(CONFIG_MAX1363) += max1363.o
1818
obj-$(CONFIG_MCP320X) += mcp320x.o
19+
obj-$(CONFIG_MCP3422) += mcp3422.o
1920
obj-$(CONFIG_NAU7802) += nau7802.o
2021
obj-$(CONFIG_TI_ADC081C) += ti-adc081c.o
2122
obj-$(CONFIG_TI_AM335X_ADC) += ti_am335x_adc.o

0 commit comments

Comments
 (0)