accel: adxl380: Add support for 1 kHz sampling frequency
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 4 repliesIn review
- v12 patches 7 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iio: accel: adxl380: Store sampling frequency index in odr struct memberdrivers/ | +2 | 0 replies | |
| 2/3 | iio: accel: adxl380: Introduce helper function for activity detectiondrivers/ | +22 | 2 replies | |
| 3/3 | iio: accel: adxl380: Add support for 1 kHz sampling frequencydrivers/ drivers/ | +71 | 1 reply |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Nuno Sá |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] accel: adxl380: Add support for 1 kHz sampling frequency
This series adds support for 1kHz sampling frequency for sensor variants that implement low-power mode.
The first patch is a preparatory step to decouple sampling frequency values from decimation filter settings, the second patch introduces a new helper function to check whether activity/inactivity detection is enabled, and the last patch adds support for the new sampling frequency value. Tested on ADXL382.
Changes from v1 [1]:
- added Nuno's reviewed-by tag to patch 1
- modified reporting of available frequencies and setting of current frequency to reflect activity detection status (Jonathan)
[1] https://lore.kernel.org/linux-iio/[email protected]/T/
Francesco Lavra (3):
iio: accel: adxl380: Store sampling frequency index in odr struct
member
iio: accel: adxl380: Introduce helper function for activity detection
iio: accel: adxl380: Add support for 1 kHz sampling frequency
drivers/iio/accel/adxl380.c | 122 +++++++++++++++++++++++++----------- drivers/iio/accel/adxl380.h | 10 ++- 2 files changed, 95 insertions(+), 37 deletions(-)
Signature · 1 line
2.39.5