diff options
author | Lothar Rubusch <l.rubusch@gmail.com> | 2025-07-02 23:08:15 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-07-13 15:36:27 +0100 |
commit | 385eb69ee6ec1fecc475bc1e09f640e2a205c38b (patch) | |
tree | 9db2ee89b7f58793ce03f2cef18151492f823fbe /tools/perf/scripts/python | |
parent | ff8093fa6ba4dd7235a7ad57d5c61b5d3bc9ad8a (diff) |
iio: accel: adxl313: add activity sensing
Add support for configuring an activity detection threshold. Extend the
interrupt handler to process activity-related interrupts, and provide
functions to set the threshold as well as to enable or disable activity
sensing. Additionally, introduce a virtual channel that represents the
logical AND of the x, y, and z axes in the IIO channel.
This patch serves as a preparatory step; some definitions and functions
introduced here are intended to be extended later to support inactivity
detection.
Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250702230819.19353-5-l.rubusch@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions