[PATCH 0/3] Add ChromeOS EC Activity Sensors driver

From: Thierry Escande
Date: Mon Dec 05 2016 - 04:15:46 EST


Hi,

This patchset adds support for an activity sensors driver handling
activity/gesture recognition coming from the EC. Only significant motion
is currently supported. Moreover it is an incomplete driver: activity can
be set and ring buffer must be used to receive interruption.

This patchset depends on [1] to apply (which is merged into linux-next).

[1] https://lkml.org/lkml/2016/8/1/141

Regards,
Thierry

Gwendal Grignou (3):
mfd: cros_ec: update MOTIONSENSE definitions and commands
iio: core: Add double tap as possible gesture
iio: cros_ec_activity: add ChromeOS EC Activity Sensors

drivers/iio/common/cros_ec_sensors/Kconfig | 10 +
drivers/iio/common/cros_ec_sensors/Makefile | 1 +
.../iio/common/cros_ec_sensors/cros_ec_activity.c | 300 +++++++++++++++++++++
.../common/cros_ec_sensors/cros_ec_sensors_core.c | 24 ++
.../common/cros_ec_sensors/cros_ec_sensors_core.h | 1 +
drivers/iio/industrialio-core.c | 1 +
include/linux/mfd/cros_ec_commands.h | 35 +++
include/uapi/linux/iio/types.h | 1 +
8 files changed, 373 insertions(+)
create mode 100644 drivers/iio/common/cros_ec_sensors/cros_ec_activity.c

--
2.7.4