iio: adc: Add support for STM32 ADC core
authorFabrice Gasnier <fabrice.gasnier@st.com>
Tue, 15 Nov 2016 15:30:57 +0000 (16:30 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 19 Nov 2016 12:17:45 +0000 (12:17 +0000)
commit1add6988024030b08e4cc14001c4e64a901fa35b
tree106f49cef85e8b894f162858662d07a6895f389f
parent841fcea454fe8cd9e0744721bf491700a912d87e
iio: adc: Add support for STM32 ADC core

Add core driver for STMicroelectronics STM32 ADC (Analog to Digital
Converter). STM32 ADC can be composed of up to 3 ADCs with shared
resources like clock prescaler, common interrupt line and analog
reference voltage.
This core driver basically manages shared resources.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/stm32-adc-core.c [new file with mode: 0644]
drivers/iio/adc/stm32-adc-core.h [new file with mode: 0644]