[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240811161202.19818-1-benato.denis96@gmail.com>
Date: Sun, 11 Aug 2024 18:12:01 +0200
From: Denis Benato <benato.denis96@...il.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Jagath Jog J <jagathjog1996@...il.com>,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Denis Benato <benato.denis96@...il.com>,
"Luke D . Jones" <luke@...nes.dev>,
Jonathan LoBue <jlobue10@...il.com>
Subject: [PATCH 0/1] iio: bmi323: have the peripheral consume less power
The bmi323 chip is part of handhelds PCs that are run on battery.
One of said PC is well-known for its short battery life, even in s2idle:
help mitigate that by putting the device in its lowest-consumption
state while the peripheral is unused.
Have runtime-pm suspend callback save used configuration registers
and runtime-pm resume callback restore saved registers to restore
the previous state.
Signed-off-by: Denis Benato <benato.denis96@...il.com>
Denis Benato (1):
iio: bmi323: peripheral in lowest power state on suspend
drivers/iio/imu/bmi323/bmi323.h | 1 +
drivers/iio/imu/bmi323/bmi323_core.c | 183 ++++++++++++++++++++++++++-
drivers/iio/imu/bmi323/bmi323_i2c.c | 8 ++
drivers/iio/imu/bmi323/bmi323_spi.c | 8 ++
4 files changed, 194 insertions(+), 6 deletions(-)
--
2.46.0
Powered by blists - more mailing lists