From: Jagath Jog J <jagathjog1996@gmail.com>
To: jic23@kernel.org, andy.shevchenko@gmail.com
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v1 0/2] iio: Add single and double tap events support
Date: Tue, 14 Jun 2022 00:47:04 +0530 [thread overview]
Message-ID: <20220613191706.31239-1-jagathjog1996@gmail.com> (raw)
This patch series adds new event type for tap called gesture and direction
is used to differentiate single and double tap. This series adds single
and double tap support for bma400 accelerometer device driver.
Changes since RFC
1. Corrected the "quite" typo to "quiet".
2. Added proper reference and name of the section from datasheet.
3. Changed the ABI documentation to make it more generic.
4. Added ABI documentation for double tap quiet period.
5. Added available list by registering new event attribute for tap
threshold values and double tap quiet period values.
6. Sending both single and double tap events separately.
8. Removed checking for tap enabled while changing data rate.
9. Returning invalid with error message if the input data rate is not
200Hz while enabling tap interrupts.
7. Added datasheet reference for interrupt engine overrun.
Jagath Jog J (2):
iio: Add new event type gesture and use direction for single and
double tap
iio: accel: bma400: Add support for single and double tap events
Documentation/ABI/testing/sysfs-bus-iio | 24 +++
drivers/iio/accel/bma400.h | 11 ++
drivers/iio/accel/bma400_core.c | 210 ++++++++++++++++++++++--
drivers/iio/industrialio-event.c | 5 +-
include/uapi/linux/iio/types.h | 3 +
tools/iio/iio_event_monitor.c | 8 +-
6 files changed, 249 insertions(+), 12 deletions(-)
base-commit: 9c50b2e70d55e088400b828d441b42254eae94b4
--
2.17.1
next reply other threads:[~2022-06-13 20:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-13 19:17 Jagath Jog J [this message]
2022-06-13 19:17 ` [PATCH v1 1/2] iio: Add new event type gesture and use direction for single and double tap Jagath Jog J
2022-06-19 12:54 ` Jonathan Cameron
2022-06-26 13:21 ` Jagath Jog J
2022-07-16 14:56 ` Jonathan Cameron
2022-07-23 8:55 ` Jagath Jog J
2022-06-13 19:17 ` [PATCH v1 2/2] iio: accel: bma400: Add support for single and double tap events Jagath Jog J
2022-06-14 9:20 ` Andy Shevchenko
2022-06-14 19:18 ` Jagath Jog J
2022-06-19 12:47 ` Jonathan Cameron
2022-06-19 13:18 ` Jonathan Cameron
2022-06-26 13:23 ` Jagath Jog J
2022-07-16 15:20 ` Jonathan Cameron
2022-07-23 8:59 ` Jagath Jog J
2022-07-31 17:46 ` 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=20220613191706.31239-1-jagathjog1996@gmail.com \
--to=jagathjog1996@gmail.com \
--cc=andy.shevchenko@gmail.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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