iio: stm32 trigger: Add support for TRGO2 triggers
authorFabrice Gasnier <fabrice.gasnier@st.com>
Tue, 2 May 2017 12:33:45 +0000 (14:33 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 7 May 2017 15:08:10 +0000 (16:08 +0100)
commit6fb34812c2a2a4cdcdad4452b9634892812fa97b
tree84579f1e9633faceb5db8b5404ac55e97f9a101c
parentf80ac400ee762bba3a420a4a537ce6ae7854b657
iio: stm32 trigger: Add support for TRGO2 triggers

Add support for TRGO2 trigger that can be found on STM32F7.
Add additional master modes supported by TRGO2.
Register additional "tim[1/8]_trgo2" triggers for timer1 & timer8.
Detect TRGO2 timer capability (master mode selection 2).

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
drivers/iio/trigger/stm32-timer-trigger.c
include/linux/iio/timer/stm32-timer-trigger.h
include/linux/mfd/stm32-timers.h