iio: stm32 trigger: Add counter enable modes
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Tue, 4 Apr 2017 07:47:52 +0000 (09:47 +0200)
committerJonathan Cameron <jic23@kernel.org>
Fri, 14 Apr 2017 14:09:04 +0000 (15:09 +0100)
commit2a830a45ffb05d1aa8d7866235501f635678bec6
treea5a48abbea064c60f455ffb9dd249543f7fcf27d
parent4adec7da0536a345d901d7ba55b6c93a14eeeaff
iio: stm32 trigger: Add counter enable modes

Device counting could be controlled by the level or the edges of
a trigger.
in_count0_enable_mode attibute allow to set the control mode.

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