iio: adc: stm32: add tim15 trigger
authorFabrice Gasnier <fabrice.gasnier@st.com>
Wed, 18 Oct 2017 11:39:27 +0000 (13:39 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Oct 2017 16:49:57 +0000 (17:49 +0100)
Add TIM15_TRGO trigger that is now supported on STM32H7.

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

index 8b7c24780a8a688eabc19c489e5372a1a94e0b65..c9d96f935dba4751a1e9e29bac3d3ed3753e1283 100644 (file)
@@ -531,6 +531,7 @@ static struct stm32_adc_trig_info stm32h7_adc_trigs[] = {
        { TIM2_TRGO, STM32_EXT11 },
        { TIM4_TRGO, STM32_EXT12 },
        { TIM6_TRGO, STM32_EXT13 },
+       { TIM15_TRGO, STM32_EXT14 },
        { TIM3_CH4, STM32_EXT15 },
        { LPTIM1_OUT, STM32_EXT18 },
        { LPTIM2_OUT, STM32_EXT19 },