linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] iio: stm32 trigger: Add quadrature device and counter
@ 2017-04-04  7:47 Benjamin Gaignard
  2017-04-04  7:47 ` [PATCH v4 1/2] iio: stm32 trigger: Add quadrature encoder device Benjamin Gaignard
  2017-04-04  7:47 ` [PATCH v4 2/2] iio: stm32 trigger: Add counter enable modes Benjamin Gaignard
  0 siblings, 2 replies; 7+ messages in thread
From: Benjamin Gaignard @ 2017-04-04  7:47 UTC (permalink / raw)
  To: linux-kernel, jic23, linux-iio, knaack.h, lars, pmeerw,
	vilhelm.gray, mwelling
  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.

version 4:
- fix indentation in documentation
- reword triggered description

version 3:
- fix typo in documentation
- change some functions names

version 2:
- since iio: Generalize counting direction modes commit of version has being
  pushed in iio.git testing branch I have remove it from this serie.
- split the original attribute in 2: one for quadrature modes and one for
  enable modes.
- add scale info
- change modes to more generic names to be able to merge them with 104-quad-8
  in the futur.


Benjamin Gaignard (2):
  iio: stm32 trigger: Add quadrature encoder device
  iio: stm32 trigger: Add counter enable modes

 .../ABI/testing/sysfs-bus-iio-timer-stm32          |  71 ++++-
 drivers/iio/trigger/stm32-timer-trigger.c          | 314 ++++++++++++++++++++-
 include/linux/mfd/stm32-timers.h                   |   2 +
 3 files changed, 377 insertions(+), 10 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-04-14 14:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-04  7:47 [PATCH v4 0/2] iio: stm32 trigger: Add quadrature device and counter Benjamin Gaignard
2017-04-04  7:47 ` [PATCH v4 1/2] iio: stm32 trigger: Add quadrature encoder device Benjamin Gaignard
2017-04-08 17:27   ` Jonathan Cameron
2017-04-10 12:55     ` William Breathitt Gray
2017-04-14 14:10       ` Jonathan Cameron
2017-04-04  7:47 ` [PATCH v4 2/2] iio: stm32 trigger: Add counter enable modes Benjamin Gaignard
2017-04-08 17:28   ` 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).