Linux IIO development
 help / color / mirror / Atom feed
From: Mario Tesi <martepisa@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>
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: Tue, 21 Oct 2025 13:35:44 +0200	[thread overview]
Message-ID: <20251021113544.GA256337@ctocxl9700.cto.st.com> (raw)
In-Reply-To: <20251018202301.2680cc79@jic23-huawei>

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,
Mario

  reply	other threads:[~2025-10-21 11:35 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 [this message]
2025-10-27 13:30       ` Jonathan Cameron

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=20251021113544.GA256337@ctocxl9700.cto.st.com \
    --to=martepisa@gmail.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --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