From: inv.git-commit@tdk.com
To: jic23@kernel.org
Cc: lars@metafoo.de, linux-iio@vger.kernel.org,
Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Subject: [PATCH v4 0/2] iio: imu: inv_icm42600: add support of accel low power
Date: Wed, 5 Jun 2024 19:59:47 +0000 [thread overview]
Message-ID: <20240605195949.766677-1-inv.git-commit@tdk.com> (raw)
From: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
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(-)
--
2.34.1
next reply other threads:[~2024-06-05 20:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-05 19:59 inv.git-commit [this message]
2024-06-05 19:59 ` [PATCH v4 1/2] iio: document inv_icm42600 driver private sysfs attributes inv.git-commit
2024-06-05 19:59 ` [PATCH v4 2/2] iio: imu: inv_icm42600: add support of accel low-power mode inv.git-commit
2024-06-09 10:09 ` [PATCH v4 0/2] iio: imu: inv_icm42600: add support of accel low power Jonathan Cameron
2024-06-12 12:28 ` Jean-Baptiste Maneyrol
2024-06-13 18:22 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240605195949.766677-1-inv.git-commit@tdk.com \
--to=inv.git-commit@tdk.com \
--cc=jean-baptiste.maneyrol@tdk.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox