diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-08-03 05:14:14 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-12 08:05:27 -0400 |
commit | 25892d6eac9cb752af95bcd539ed5e1158eba760 (patch) | |
tree | bb0eef4fda17456c52eabff44cbd6ae8eeddcf6e /include/linux/iio/timer/stm32-timer-trigger.h | |
parent | 45fff14bab00eea97e0f60a2a5ba3eca97bd476a (diff) |
iio: trigger: stm32-timer: add output compare triggers
Add output compare trigger sources available on some instances.
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 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/iio/timer/stm32-timer-trigger.h b/include/linux/iio/timer/stm32-timer-trigger.h index 20f465353a7c..d68add80ab86 100644 --- a/include/linux/iio/timer/stm32-timer-trigger.h +++ b/include/linux/iio/timer/stm32-timer-trigger.h | |||
@@ -55,12 +55,24 @@ | |||
55 | #define TIM9_CH1 "tim9_ch1" | 55 | #define TIM9_CH1 "tim9_ch1" |
56 | #define TIM9_CH2 "tim9_ch2" | 56 | #define TIM9_CH2 "tim9_ch2" |
57 | 57 | ||
58 | #define TIM10_OC1 "tim10_oc1" | ||
59 | |||
60 | #define TIM11_OC1 "tim11_oc1" | ||
61 | |||
58 | #define TIM12_TRGO "tim12_trgo" | 62 | #define TIM12_TRGO "tim12_trgo" |
59 | #define TIM12_CH1 "tim12_ch1" | 63 | #define TIM12_CH1 "tim12_ch1" |
60 | #define TIM12_CH2 "tim12_ch2" | 64 | #define TIM12_CH2 "tim12_ch2" |
61 | 65 | ||
66 | #define TIM13_OC1 "tim13_oc1" | ||
67 | |||
68 | #define TIM14_OC1 "tim14_oc1" | ||
69 | |||
62 | #define TIM15_TRGO "tim15_trgo" | 70 | #define TIM15_TRGO "tim15_trgo" |
63 | 71 | ||
72 | #define TIM16_OC1 "tim16_oc1" | ||
73 | |||
74 | #define TIM17_OC1 "tim17_oc1" | ||
75 | |||
64 | bool is_stm32_timer_trigger(struct iio_trigger *trig); | 76 | bool is_stm32_timer_trigger(struct iio_trigger *trig); |
65 | 77 | ||
66 | #endif | 78 | #endif |