iio: make stm32 trigger driver use INDIO_HARDWARE_TRIGGERED mode
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 27 Apr 2017 13:29:16 +0000 (15:29 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 11 Jun 2017 14:59:05 +0000 (15:59 +0100)
commit9eba381bf83b42b312cbae8050e357138782ba9a
treea742a62eb779eb3e0fd5e72009a7c16924ce2e2f
parentd89e119a088ec83881eda5645307ae252ecea33a
iio: make stm32 trigger driver use INDIO_HARDWARE_TRIGGERED mode

Add validate function to be use to use the correct trigger.
Add an attribute to configure device mode like for quadrature and
enable modes

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio-timer-stm32
drivers/iio/trigger/stm32-timer-trigger.c