diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-08-03 12:14:13 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-12 15:05:26 +0300 |
commit | 45fff14bab00eea97e0f60a2a5ba3eca97bd476a (patch) | |
tree | f672303e445d0f3e32d35802da8e947b99e5b599 /include/linux/iio | |
parent | a6bb1bb8514762693c253d7c6b8e104cc39c517b (diff) | |
download | linux-45fff14bab00eea97e0f60a2a5ba3eca97bd476a.tar.xz |
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>
Diffstat (limited to 'include/linux/iio')
-rw-r--r-- | include/linux/iio/timer/stm32-timer-trigger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/iio/timer/stm32-timer-trigger.h b/include/linux/iio/timer/stm32-timer-trigger.h index fa7d786ed99e..20f465353a7c 100644 --- a/include/linux/iio/timer/stm32-timer-trigger.h +++ b/include/linux/iio/timer/stm32-timer-trigger.h @@ -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 |