[v1,0/2] iio: stm32 trigger: Add counter device

Message ID 1488379506-23969-1-git-send-email-benjamin.gaignard@st.com
Headers show
Series
  • iio: stm32 trigger: Add counter device
Related show

Message

Benjamin Gaignard March 1, 2017, 2:45 p.m.
A first encoder IIO driver (104-quad-8) with a count channel already exist.
STM32 driver have the same type of feature but with different counting modes.
Some parts, like counting direction (up/down) could be generalized so move the
corresponding documentation from driver file to sysfs-bus-iio.


Benjamin Gaignard (2):
  iio: Generalize counting direction modes
  iio: stm32 trigger: Add counter device

 Documentation/ABI/testing/sysfs-bus-iio            |  14 ++
 .../ABI/testing/sysfs-bus-iio-counter-104-quad-8   |   8 -
 .../ABI/testing/sysfs-bus-iio-timer-stm32          |  40 ++++
 drivers/iio/trigger/stm32-timer-trigger.c          | 231 ++++++++++++++++++++-
 include/linux/mfd/stm32-timers.h                   |   2 +
 5 files changed, 281 insertions(+), 14 deletions(-)

-- 
1.9.1