summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2016-11-15 18:30:58 +0300
committerJonathan Cameron <jic23@kernel.org>2016-11-19 15:18:33 +0300
commit0f883b223aa407a9c9fab714655fbc1549cf3c01 (patch)
tree645b347cf23ca230fe656566013dd66bc656ab7b /drivers/iio/adc/Kconfig
parent1add6988024030b08e4cc14001c4e64a901fa35b (diff)
downloadlinux-0f883b223aa407a9c9fab714655fbc1549cf3c01.tar.xz
iio: adc: Add support for STM32 ADC
This patch adds support for STMicroelectronics STM32 MCU's analog to digital converter. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> 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 6a974b767cbf..38bc319904c4 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -453,6 +453,16 @@ config STM32_ADC_CORE
This driver can also be built as a module. If so, the module
will be called stm32-adc-core.
+config STM32_ADC
+ tristate "STMicroelectronics STM32 adc"
+ depends on STM32_ADC_CORE
+ help
+ Say yes here to build support for STMicroelectronics stm32 Analog
+ to Digital Converter (ADC).
+
+ This driver can also be built as a module. If so, the module
+ will be called stm32-adc.
+
config STX104
tristate "Apex Embedded Systems STX104 driver"
depends on X86 && ISA_BUS_API