Skip to content

iio: imu: inv_icm42600: add support of accel low power

[email protected] linux-iio 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v31 patch 1 replySuperseded
  3. v21 patch 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch5 repliesSuperseded

Changes in v4 from the cover letter

- prevent power mode setting when the ODR is not supported
- return the actual power mode when sensor is on, otherwise the requested one.
- add sysfs ABI documentation

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: document inv_icm42600 driver private sysfs attributesDocumentation/ABI/testing/sysfs-bus-iio-inv_icm42600 MAINTAINERS+19 -00 replies
2/2iio: imu: inv_icm42600: add support of accel low-power modedrivers/iio/imu/inv_icm42600/inv_icm42600.h drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c drivers/iio/imu/inv_icm42600/inv_icm42600_core.c+151 -40 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/2] iio: imu: inv_icm42600: add support of accel low power

From: Jean-Baptiste Maneyrol <[email protected]>

Add accel low power support, enabling use of lower ODR below 12.5Hz.

Add new sysfs API for controlling the power mode and enforce power mode used when using an ODR that supports only 1 mode (ODR < 12.5Hz or ODR > 500Hz).

Changelog

V2:
- fix patch missing Signed-off tag

V3:
- make all ODRs available and switch power mode automatically for ODR supporting only 1 mode.

V4:
- prevent power mode setting when the ODR is not supported
- return the actual power mode when sensor is on, otherwise the requested one.
- add sysfs ABI documentation

Jean-Baptiste Maneyrol (1):
iio: imu: inv_icm42600: add support of accel low-power mode

 drivers/iio/imu/inv_icm42600/inv_icm42600.h   |   4 +
 .../iio/imu/inv_icm42600/inv_icm42600_accel.c | 124 +++++++++++++++++-
 .../iio/imu/inv_icm42600/inv_icm42600_core.c  |  27 ++++
 3 files changed, 151 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1