iio: adc: stm32: add support for STM32H7
authorFabrice Gasnier <fabrice.gasnier@st.com>
Mon, 29 May 2017 09:28:20 +0000 (11:28 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 11 Jun 2017 14:07:29 +0000 (15:07 +0100)
commit95e339b6e85d03438d1d9236ccaff4ecd895f3ab
treeacf40ff9965955f84583046cbf4bd07b4497cea3
parent204a6a25db79a0d754451c023933e0470b498730
iio: adc: stm32: add support for STM32H7

Add support for STM32H7 Analog to Digital Converter. It has up
to 20 external channels, resolution ranges from 8 to 16bits.
Either bus or asynchronous adc clock may be used.

Add registers & bitfields definition. Also add new configuration
options to enter/exit powerdown and perform self-calibration.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/stm32-adc-core.c
drivers/iio/adc/stm32-adc-core.h
drivers/iio/adc/stm32-adc.c