From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Gwendal Grignou <gwendal@chromium.org>
Cc: jic23@kernel.org, nvaccaro@google.com, linux-iio@vger.kernel.org
Subject: Re: [PATCH v3] iio: cros_ec: Allow enabling/disabling calibration mode
Date: Thu, 29 Jan 2026 01:37:50 +0000 [thread overview]
Message-ID: <aXq57lVUZmZ91nWZ@google.com> (raw)
In-Reply-To: <20260128032702.1714041-1-gwendal@chromium.org>
On Tue, Jan 27, 2026 at 07:27:02PM -0800, Gwendal Grignou wrote:
> 'calibrate' was a one-shot event sent to the sensor to calibrate itself.
> It is used on Bosch sensors (BMI160, BMA254).
> Light sensors work differently: They are first put in calibration mode,
> tests are run to collect information and calculate the calibration
> values to apply. Once done, the sensors are put back in normal mode.
>
> Accept boolean true and false (not just true) to enter/exit calibration
> state.
>
> Check "echo 0 > calibrate" is supported.
>
> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
next prev parent reply other threads:[~2026-01-29 1:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-28 3:27 [PATCH v3] iio: cros_ec: Allow enabling/disabling calibration mode Gwendal Grignou
2026-01-29 1:37 ` Tzung-Bi Shih [this message]
2026-01-29 17:36 ` 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=aXq57lVUZmZ91nWZ@google.com \
--to=tzungbi@kernel.org \
--cc=gwendal@chromium.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=nvaccaro@google.com \
/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