Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1615755

[PATCH v4 0/2] iio: stm32 trigger: Add quadrature device and counter

From Benjamin Gaignard <benjamin.gaignard@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v4 0/2] iio: stm32 trigger: Add quadrature device and counter
Date 2017-04-04 09:50 +0200
Message-ID <tsrnX-1QN-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/2] iio: stm32 trigger: Add quadrature device and counter  Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-04-04 09:50 +0200
  [PATCH v4 1/2] iio: stm32 trigger: Add quadrature encoder device Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-04-04 09:50 +0200
    Re: [PATCH v4 1/2] iio: stm32 trigger: Add quadrature encoder device Jonathan Cameron <jic23@kernel.org> - 2017-04-08 19:30 +0200
      Re: [PATCH v4 1/2] iio: stm32 trigger: Add quadrature encoder device William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-04-10 15:00 +0200
  [PATCH v4 2/2] iio: stm32 trigger: Add counter enable modes Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-04-04 09:50 +0200
    Re: [PATCH v4 2/2] iio: stm32 trigger: Add counter enable modes Jonathan Cameron <jic23@kernel.org> - 2017-04-08 19:30 +0200

csiph-web