iio: trigger: stm32-timer: add support for STM32H7

Add support for STM32H7 timer triggers:
- Add new valids_table
- Introduce compatible, with configuration data
- Extend up to 15 timers, available on STM32H7

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Fabrice Gasnier
2017-08-03 11:14:13 +02:00
committed by Jonathan Cameron
parent a6bb1bb851
commit 45fff14bab
2 changed files with 53 additions and 4 deletions

View File

@@ -59,6 +59,8 @@
#define TIM12_CH1 "tim12_ch1"
#define TIM12_CH2 "tim12_ch2"
#define TIM15_TRGO "tim15_trgo"
bool is_stm32_timer_trigger(struct iio_trigger *trig);
#endif