diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-08-03 05:14:13 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-12 08:05:26 -0400 |
commit | 45fff14bab00eea97e0f60a2a5ba3eca97bd476a (patch) | |
tree | f672303e445d0f3e32d35802da8e947b99e5b599 /include/linux/iio/timer/stm32-timer-trigger.h | |
parent | a6bb1bb8514762693c253d7c6b8e104cc39c517b (diff) |
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/timer/stm32-timer-trigger.h')
-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 @@ | |||
59 | #define TIM12_CH1 "tim12_ch1" | 59 | #define TIM12_CH1 "tim12_ch1" |
60 | #define TIM12_CH2 "tim12_ch2" | 60 | #define TIM12_CH2 "tim12_ch2" |
61 | 61 | ||
62 | #define TIM15_TRGO "tim15_trgo" | ||
63 | |||
62 | bool is_stm32_timer_trigger(struct iio_trigger *trig); | 64 | bool is_stm32_timer_trigger(struct iio_trigger *trig); |
63 | 65 | ||
64 | #endif | 66 | #endif |