aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLothar Rubusch <l.rubusch@gmail.com>2025-07-27 21:00:12 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-16 11:57:07 +0100
commitf6f22950d925c5e42ac5aeadafafcfc3c5c7b360 (patch)
treea983a9d668b55e09b1d1d4d2a9532ed97441accc /tools/perf/scripts/python/syscall-counts.py
parentiio: accel: adxl345: add coupling detection for activity/inactivity (diff)
downloadlinux-f6f22950d925c5e42ac5aeadafafcfc3c5c7b360.tar.gz
linux-f6f22950d925c5e42ac5aeadafafcfc3c5c7b360.zip
iio: accel: adxl345: extend inactivity time for less than 1s
Inactivity and free-fall events are essentially the same type of sensor events. Therefore, inactivity detection (normally set for periods between 1 and 255 seconds) can be extended for shorter durations to support free-fall detection. For periods shorter than 1 second, the driver automatically configures the threshold and duration using the free-fall register. For periods longer than 1 second, it uses the inactivity threshold and duration using the inactivity registers. When using the free-fall register, the link bit is not set, which means auto-sleep cannot be enabled if activity detection is also active. Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com> Link: https://patch.msgid.link/20250727210014.27766-6-l.rubusch@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions