Skip to content

support rational ODRs in st_lsm6dsx

Lorenzo Bianconi linux-iio 2 versions – Applied

Status from this message: Applied to the togreg branch of iio.git after which my internet

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- express ODRs in mHZ and not in HZ / 10

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2iio: imu: st_lsm6dsx: explicitly define odr table sizedrivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c+29 -121 reply
2/2iio: imu: st_lsm6dsx: express odr in mHZdrivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +1 more+126 -1173 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] support rational ODRs in st_lsm6dsx

Express ODRs in mHZ in order to support rational ODRs (e.g. 12.5Hz). This series will fix an Android CTS failure.
Use u32 for ODR variables.
Explicitly define odr table size.
This series is based on 'iio: imu: st_lsm6dsx: fix ODR check in st_lsm6dsx_write_raw'
https://patchwork.kernel.org/patch/11214281/

Changes since v1:
- express ODRs in mHZ and not in HZ / 10

Lorenzo Bianconi (2):
iio: imu: st_lsm6dsx: explicitly define odr table size
iio: imu: st_lsm6dsx: express odr in mHZ

 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h       |   8 +-
 .../iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c    |   9 +-
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c  | 222 ++++++++++--------
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c  |  41 ++--
 4 files changed, 153 insertions(+), 127 deletions(-)
Signature · 1 line
2.21.0