linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] iio: stm32 trigger: Add counter device
@ 2017-03-01 14:45 Benjamin Gaignard
  2017-03-01 14:45 ` [PATCH v1 1/2] iio: Generalize counting direction modes Benjamin Gaignard
  2017-03-01 14:45 ` [PATCH v1 2/2] iio: stm32 trigger: Add counter device Benjamin Gaignard
  0 siblings, 2 replies; 12+ messages in thread
From: Benjamin Gaignard @ 2017-03-01 14:45 UTC (permalink / raw)
  To: linux-kernel, jic23, linux-iio, knaack.h, lars, pmeerw
  Cc: fabrice.gasnier, linaro-kernel, benjamin.gaignard, Benjamin Gaignard

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-03-20 19:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-01 14:45 [PATCH v1 0/2] iio: stm32 trigger: Add counter device Benjamin Gaignard
2017-03-01 14:45 ` [PATCH v1 1/2] iio: Generalize counting direction modes Benjamin Gaignard
2017-03-05 11:16   ` Jonathan Cameron
2017-03-01 14:45 ` [PATCH v1 2/2] iio: stm32 trigger: Add counter device Benjamin Gaignard
2017-03-05 12:04   ` Jonathan Cameron
2017-03-12 13:18     ` Benjamin Gaignard
2017-03-14 18:53       ` William Breathitt Gray
2017-03-17 14:36         ` Benjamin Gaignard
2017-03-20 13:25           ` William Breathitt Gray
2017-03-20 19:14             ` Jonathan Cameron
2017-03-20 18:53         ` Jonathan Cameron
2017-03-20 18:50       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).