From: Jonathan Cameron <jic23@kernel.org>
To: Francesco Lavra <flavra@baylibre.com>
Cc: "Ramona Gradinariu" <ramona.gradinariu@analog.com>,
"Antoniu Miclaus" <antoniu.miclaus@analog.com>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/3] accel: adxl380: Add support for 1 kHz sampling frequency
Date: Fri, 16 Jan 2026 19:43:52 +0000 [thread overview]
Message-ID: <20260116194352.2595a86c@jic23-huawei> (raw)
In-Reply-To: <20260115175350.1045887-1-flavra@baylibre.com>
On Thu, 15 Jan 2026 18:53:47 +0100
Francesco Lavra <flavra@baylibre.com> wrote:
> 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.
Applied with tweaks as called out in replies to individual patches to
the testing branch of iio.git. I'm rushing this a bit as I'm not sure how
early next week I'll get to IIO stuff but if Nuno or anyone else wants to
take a look (+ give tags or ask me to drop it for a v3) then that is fine!
Jonathan
>
> 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/20260107123518.4017292-1-flavra@baylibre.com/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(-)
>
prev parent reply other threads:[~2026-01-16 19:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-15 17:53 [PATCH v2 0/3] accel: adxl380: Add support for 1 kHz sampling frequency Francesco Lavra
2026-01-15 17:53 ` [PATCH v2 1/3] iio: accel: adxl380: Store sampling frequency index in odr struct member Francesco Lavra
2026-01-15 17:53 ` [PATCH v2 2/3] iio: accel: adxl380: Introduce helper function for activity detection Francesco Lavra
2026-01-15 20:28 ` Andy Shevchenko
2026-01-16 19:32 ` Jonathan Cameron
2026-01-15 17:53 ` [PATCH v2 3/3] iio: accel: adxl380: Add support for 1 kHz sampling frequency Francesco Lavra
2026-01-16 19:42 ` Jonathan Cameron
2026-01-16 19:43 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260116194352.2595a86c@jic23-huawei \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=antoniu.miclaus@analog.com \
--cc=dlechner@baylibre.com \
--cc=flavra@baylibre.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=ramona.gradinariu@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox