* [PATCH 0/3] iio: temperature: mlx90632: Add powermanagement
@ 2022-09-06 9:04 cmo
0 siblings, 0 replies; 2+ messages in thread
From: cmo @ 2022-09-06 9:04 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio, linux-kernel, Andy Shevchenko, Crt Mori
From: Crt Mori <cmo@melexis.com>
As discussed previously on the group under the
"Controlling device power management from terminal" thread the mlx90632
sensor provides measurement capabilities under sleep_step mode. This
series runtime suspends the unused chip to sleep step mode to save power
but in case of continuous sequential reading it switches to continuous
mode for faster readouts. This value is hardcoded to
MLX90632_MEAS_MAX_TIME (with some buffer) and not user configurable.
The sensor runtime suspension is set to MLX90632_SLEEP_DELAY_MS which is
hardcoded to 3 times as much as MEAS_MAX_TIME.
Crt Mori (3):
iio: temperature: mlx90632 Add runtime powermanagement modes
iio: temperature: mlx90632 Read sampling frequency
iio: temperature: mlx90632 Change return value of sensor measurement
channel
drivers/iio/temperature/mlx90632.c | 355 ++++++++++++++++++++++++++---
1 file changed, 317 insertions(+), 38 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 0/3] iio: temperature: mlx90632: Add powermanagement
@ 2022-09-02 13:12 cmo
0 siblings, 0 replies; 2+ messages in thread
From: cmo @ 2022-09-02 13:12 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio, linux-kernel, Andy Shevchenko, Crt Mori
From: Crt Mori <cmo@melexis.com>
As discussed previously on the group under the
"Controlling device power management from terminal" thread the mlx90632
sensor provides measurement capabilities under sleep_step mode. This
series runtime suspends the unused chip to sleep step mode to save power
but in case of continuous sequential reading it switches to continuous
mode for faster readouts. This value is hardcoded to
MLX90632_MEAS_MAX_TIME (with some buffer) and not user configurable.
The sensor runtime suspension is set to MLX90632_SLEEP_DELAY_MS which is
hardcoded to 3 times as much as MEAS_MAX_TIME.
Crt Mori (3):
iio: temperature: mlx90632 Add runtime powermanagement modes
iio: temperature: mlx90632 Read sampling frequency
iio: temperature: mlx90632 Change return value of sensor measurement
channel
drivers/iio/temperature/mlx90632.c | 355 ++++++++++++++++++++++++++---
1 file changed, 317 insertions(+), 38 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-06 9:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-06 9:04 [PATCH 0/3] iio: temperature: mlx90632: Add powermanagement cmo
-- strict thread matches above, loose matches on Subject: below --
2022-09-02 13:12 cmo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®