summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrancesco Lavra <flavra@baylibre.com>2026-01-15 20:53:49 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-01-16 22:40:04 +0300
commitfabae7558722dcf41a9137f6f0f82462867d7c96 (patch)
tree5e04ccef05e51d2aaa91a6d69f68e5a6c59fa48d /scripts
parenta99b000f92413f254a6dc0f6ab88b310152f9485 (diff)
downloadlinux-fabae7558722dcf41a9137f6f0f82462867d7c96.tar.xz
iio: accel: adxl380: Introduce helper function for activity detection
Motion detection functionalities (such as activity and inactivity detection) are only available when the chip is in a low-power mode; this affects the available sampling frequency values. In preparation for adding support for a new frequency value, introduce a helper function that checks whether activity/inactivity detection is currently enabled; this function will be reused in a future commit to determine what frequency values are available at any given time. No functional changes. Signed-off-by: Francesco Lavra <flavra@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions