diff options
author | Ksenija Stanojevic <ksenija.stanojevic@gmail.com> | 2017-03-16 13:27:10 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-03-23 12:28:43 +0000 |
commit | 6dd112b9f85e5f24ac8c15d892690cb44a4b7936 (patch) | |
tree | 07259688955891b7410f527a1e61d4a385aec9df /drivers/iio/adc/Kconfig | |
parent | mfd: mxs-lradc: Add support for mxs-lradc (diff) | |
download | linux-dev-6dd112b9f85e5f24ac8c15d892690cb44a4b7936.tar.xz linux-dev-6dd112b9f85e5f24ac8c15d892690cb44a4b7936.zip |
iio: adc: mxs-lradc: Add support for ADC driver
Add support for sixteen-channel 12-bit resolution ADC and its functions,
which include general-purpose ADC readings, battery voltage measurement,
and die temperature measurement.
Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r-- | drivers/iio/adc/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index dedae7adbce9..97a3803f0b34 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -229,6 +229,19 @@ config EXYNOS_ADC To compile this driver as a module, choose M here: the module will be called exynos_adc. +config MXS_LRADC_ADC + tristate "Freescale i.MX23/i.MX28 LRADC ADC" + depends on MFD_MXS_LRADC + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER + help + Say yes here to build support for the ADC functions of the + i.MX23/i.MX28 LRADC. This includes general-purpose ADC readings, + battery voltage measurement, and die temperature measurement. + + This driver can also be built as a module. If so, the module will be + called mxs-lradc-adc. + config FSL_MX25_ADC tristate "Freescale MX25 ADC driver" depends on MFD_MX25_TSADC |