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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251027133025.542b9653@jic23-huawei>
Date: Mon, 27 Oct 2025 13:30:25 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Mario Tesi <martepisa@...il.com>
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 Tue, 21 Oct 2025 13:35:44 +0200
Mario Tesi <martepisa@...il.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@...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. 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
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ