summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2017-08-03 12:14:13 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-12 15:05:26 +0300
commit45fff14bab00eea97e0f60a2a5ba3eca97bd476a (patch)
treef672303e445d0f3e32d35802da8e947b99e5b599 /include
parenta6bb1bb8514762693c253d7c6b8e104cc39c517b (diff)
downloadlinux-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')
-rw-r--r--include/linux/iio/timer/stm32-timer-trigger.h2
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