summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorMario Tesi <martepisa@gmail.com>2025-10-15 18:16:19 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-10-27 13:29:12 +0000
commit8abbf45fcda028c2c05ba38eb14ede9fa9e7341b (patch)
treedad74c2d8d6609f60456b56f5786f0d4552e2857 /scripts/lib/kdoc/kdoc_re.py
parentcb372b4f46d4285e5d2c07ba734374151b8e34e7 (diff)
iio: st_lsm6dsx: Fixed calibrated timestamp calculation
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. Fixes: cb3b6b8e1bc0 ("iio: imu: st_lsm6dsx: add odr calibration feature") Signed-off-by: Mario Tesi <mario.tesi@st.com> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions