iio: adc: stm32-adc: add support for STM32MP1
authorFabrice Gasnier <fabrice.gasnier@st.com>
Wed, 2 May 2018 07:44:50 +0000 (09:44 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 7 May 2018 17:21:00 +0000 (18:21 +0100)
commitd58c67d1d851d40b0094b6dd8b1a27ac9076ffa2
tree1d03002ca94dccf0412e05091e2ec0bfe6d01c11
parent92a3737607578b35ae45f1c8e711376531aebe46
iio: adc: stm32-adc: add support for STM32MP1

Add support for STM32MP1 ADC. It's quite similar to STM32H7 ADC.
Introduce new compatible to handle variants of this hardware such as
vregready flag, trigger list, interrupts, clock rate.

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