From: Benjamin Gaignard <benjamin.gaignard@linaro.org>
To: linux-kernel@vger.kernel.org, jic23@kernel.org,
linux-iio@vger.kernel.org, knaack.h@gmx.de, lars@metafoo.de,
pmeerw@pmeerw.net, vilhelm.gray@gmail.com, mwelling@ieee.org
Cc: fabrice.gasnier@st.com, linaro-kernel@lists.linaro.org,
benjamin.gaignard@linaro.org,
Benjamin Gaignard <benjamin.gaignard@st.com>
Subject: [PATCH v3 0/2] iio: stm32 trigger: Add quadrature device and counter
Date: Mon, 27 Mar 2017 11:43:22 +0200 [thread overview]
Message-ID: <1490607804-24889-1-git-send-email-benjamin.gaignard@st.com> (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 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 | 55 ++++
drivers/iio/trigger/stm32-timer-trigger.c | 314 ++++++++++++++++++++-
include/linux/mfd/stm32-timers.h | 2 +
3 files changed, 365 insertions(+), 6 deletions(-)
--
1.9.1
next reply other threads:[~2017-03-27 9:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 9:43 Benjamin Gaignard [this message]
2017-03-27 9:43 ` [PATCH v3 1/2] iio: stm32 trigger: Add quadrature encoder device Benjamin Gaignard
2017-03-27 13:47 ` William Breathitt Gray
2017-03-27 14:14 ` Benjamin Gaignard
2017-03-27 14:23 ` William Breathitt Gray
2017-04-02 11:02 ` Jonathan Cameron
2017-04-02 11:08 ` Jonathan Cameron
2017-03-27 9:43 ` [PATCH v3 2/2] iio: stm32 trigger: Add counter enable modes Benjamin Gaignard
2017-03-27 13:55 ` William Breathitt Gray
2017-03-27 14:43 ` Benjamin Gaignard
2017-04-02 11:12 ` Jonathan Cameron
2017-04-03 10:17 ` Benjamin Gaignard
2017-04-03 19:58 ` Jonathan Cameron
2017-04-04 7:37 ` Benjamin Gaignard
2017-04-08 17:23 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490607804-24889-1-git-send-email-benjamin.gaignard@st.com \
--to=benjamin.gaignard@linaro.org \
--cc=benjamin.gaignard@st.com \
--cc=fabrice.gasnier@st.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mwelling@ieee.org \
--cc=pmeerw@pmeerw.net \
--cc=vilhelm.gray@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).