From: Jonathan Cameron <jic23@kernel.org>
To: Mario Tesi <martepisa@gmail.com>
Cc: Lorenzo Bianconi <lorenzo@kernel.org>,
linux-iio@vger.kernel.org, dlechner@baylibre.com,
nuno.sa@analog.com, andy@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: st_lsm6dsx: Fixed calibrated timestamp calculation
Date: Mon, 27 Oct 2025 13:30:25 +0000 [thread overview]
Message-ID: <20251027133025.542b9653@jic23-huawei> (raw)
In-Reply-To: <20251021113544.GA256337@ctocxl9700.cto.st.com>
On Tue, 21 Oct 2025 13:35:44 +0200
Mario Tesi <martepisa@gmail.com> wrote:
> On Sat, Oct 18, 2025 at 08:23:01PM +0100, Jonathan Cameron wrote:
> > On Wed, 15 Oct 2025 19:50:16 +0200
> > Lorenzo Bianconi <lorenzo@kernel.org> wrote:
> >
> > > > The calibrated timestamp is calculated from the nominal value using the
> > > > formula:
> > > > ts_gain[ns] ≈ ts_sensitivity - (ts_trim_coeff * val) / 1000.
> > > >
> > > > The values of ts_sensitivity and ts_trim_coeff are not the same for all
> > > > devices, so it is necessary to differentiate them based on the part name.
> > > > For the correct values please consult the relevant AN.
> > > >
> > > > Signed-off-by: Mario Tesi <mario.tesi@st.com>
> > >
> > > Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
> >
> > Fixes tag? Just reply to this thread with one and I'll pick it up from here.
> > No need for a new version.
> >
> > Otherwise seems fine to me.
> >
> > Thanks,
> >
> > Jonathan
> >
> Fixes: cb3b6b8e1bc0 ("iio: imu: st_lsm6dsx: add odr calibration feature")
>
Thanks. Applied to the fixes-togreg branch of iio.git.
I might hold this back if I get so far as doing a pull request today or
tomorrow just to give it a little time to soak in linux-next.
Thanks,
Jonathan
> Thanks,
> Mario
>
prev parent reply other threads:[~2025-10-27 13:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-15 16:16 [PATCH] iio: st_lsm6dsx: Fixed calibrated timestamp calculation Mario Tesi
2025-10-15 17:50 ` Lorenzo Bianconi
2025-10-18 19:23 ` Jonathan Cameron
2025-10-21 11:35 ` Mario Tesi
2025-10-27 13:30 ` 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=20251027133025.542b9653@jic23-huawei \
--to=jic23@kernel.org \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=martepisa@gmail.com \
--cc=nuno.sa@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