aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLothar Rubusch <l.rubusch@gmail.com>2025-07-27 21:00:09 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-16 11:57:07 +0100
commit66a1af6d8a636bc7f6bb5ee0ae6b8d4b12631280 (patch)
tree96e387e814ac03de7ffefffce297c2b64d1039b5 /tools/perf/scripts/python
parentiio: accel: adxl345: simplify tap suppress bit (diff)
downloadlinux-66a1af6d8a636bc7f6bb5ee0ae6b8d4b12631280.tar.gz
linux-66a1af6d8a636bc7f6bb5ee0ae6b8d4b12631280.zip
iio: accel: adxl345: add activity event feature
Enable the sensor to detect activity and trigger interrupts accordingly. Activity events are determined based on a threshold, which is initialized to a sensible default during probe. This default value is adopted from the legacy ADXL345 input driver to maintain consistent behavior. The combination of activity detection, ODR configuration, and range settings lays the groundwork for the activity/inactivity hysteresis mechanism, which will be implemented in a subsequent patch. As such, portions of this patch prepare switch-case structures to support those upcoming changes. Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com> Link: https://patch.msgid.link/20250727210014.27766-3-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