summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrancesco Lavra <flavra@baylibre.com>2026-01-15 18:53:50 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-01-16 19:42:08 +0000
commitf65de31fb6aba70133a0cb57bba6f84b5fb4d695 (patch)
tree74e99fefdea157bf49ebe17b92217fed3ce1e9b2 /tools/perf/scripts/python
parentfabae7558722dcf41a9137f6f0f82462867d7c96 (diff)
downloadlinux-f65de31fb6aba70133a0cb57bba6f84b5fb4d695.tar.gz
linux-f65de31fb6aba70133a0cb57bba6f84b5fb4d695.zip
iio: accel: adxl380: Add support for 1 kHz sampling frequency
In sensor variants (such as ADXL380 and ADXL382) that support low-power mode, the SAR signal path allows sampling acceleration data at lower rates; more specifically, when the sensor operates in VLP mode, the sampling frequency is 1 kHz. To add support for the 1kHz sampling frequency value, modify the operating mode selection logic to take into account the sampling frequency, and configure the decimation filters only when applicable (i.e. when using a sampling frequency that relies on the DSM signal path); in addition, constrain the available sampling frequency values based on whether the sensor is operating in low-power mode. Signed-off-by: Francesco Lavra <flavra@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions