lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251021113544.GA256337@ctocxl9700.cto.st.com>
Date: Tue, 21 Oct 2025 13:35:44 +0200
From: Mario Tesi <martepisa@...il.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Lorenzo Bianconi <lorenzo@...nel.org>, linux-iio@...r.kernel.org,
	dlechner@...libre.com, nuno.sa@...log.com, andy@...nel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: st_lsm6dsx: Fixed calibrated timestamp calculation

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@...nel.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@...com>  
> > 
> > Acked-by: Lorenzo Bianconi <lorenzo@...nel.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ