On Wed, 5 Jun 2024 19:59:47 +0000 inv.git-commit@xxxxxxx wrote: > From: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@xxxxxxx> > > 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). Applied to the togreg branch of iio.git and pushed out as testing for 0-day to poke at it. Thanks, Jonathan > > 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(-) >