All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] iio: Add single and double tap events support
@ 2022-06-13 19:17 Jagath Jog J
  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-13 19:17 ` [PATCH v1 2/2] iio: accel: bma400: Add support for single and double tap events Jagath Jog J
  0 siblings, 2 replies; 15+ messages in thread
From: Jagath Jog J @ 2022-06-13 19:17 UTC (permalink / raw)
  To: jic23, andy.shevchenko; +Cc: linux-iio, linux-kernel

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


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

end of thread, other threads:[~2022-07-31 17:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 19:17 [PATCH v1 0/2] iio: Add single and double tap events support Jagath Jog J
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.