aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorAlexandru Lazar <alazar@startmail.com>2020-04-03 15:13:23 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-19 16:56:31 +0100
commit8a80a71d9020b0066cb035e7cedfc26334a2aa44 (patch)
tree814340a2679b2681c3898cbcb78c8a32cae9154e /drivers/iio/adc/Kconfig
parentdt-bindings: iio: adc: Add MAX1241 bindings (diff)
downloadlinux-dev-8a80a71d9020b0066cb035e7cedfc26334a2aa44.tar.xz
linux-dev-8a80a71d9020b0066cb035e7cedfc26334a2aa44.zip
iio: adc: Add MAX1241 driver
Add driver for the Maxim MAX1241 12-bit, single-channel ADC. Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Alexandru Lazar <alazar@startmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
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 a0796510f9d4..c40b3c2bc1b9 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -630,6 +630,16 @@ config MAX1118
To compile this driver as a module, choose M here: the module will be
called max1118.
+config MAX1241
+ tristate "Maxim max1241 ADC driver"
+ depends on SPI_MASTER
+ help
+ Say yes here to build support for Maxim max1241 12-bit, single-channel
+ ADC.
+
+ To compile this driver as a module, choose M here: the module will be
+ called max1241.
+
config MAX1363
tristate "Maxim max1363 ADC driver"
depends on I2C