[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250525142530.71955-1-benato.denis96@gmail.com>
Date: Sun, 25 May 2025 16:25:28 +0200
From: Denis Benato <benato.denis96@...il.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Alex Lanzano <lanzano.alex@...il.com>,
Andy Shevchenko <andy@...nel.org>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Danila Tikhonov <danila@...xyga.com>,
Greg KH <gregkh@...uxfoundation.org>,
"Derek J . Clark" <derekjohn.clark@...il.com>,
Philip Müller <philm@...jaro.org>,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Denis Benato <benato.denis96@...il.com>
Subject: [PATCH v2 0/2] iio: fix suspend and resume triggering for bmi160 and bmi270
Two imu devices bmi160 and bmi270 are similar to bmi323, with the same bug and
a common usecase: fix the aforementioned bug about triggering not resuming
after sleep in the same way it was solved for the bmi323 device driver.
The bmi270 patch has been tested on a device where the device irq pin
is connected to the CPU ensuring it doesn't cause harm to devices that
do not use hrtimer or other external triggers.
Changelog from v1 [1]
- include linux/pm.h where needed
- used "Closed" to reference the solved issue for each driver
- merged two lines into one (on both drivers)
[1] https://lore.kernel.org/all/20250509171526.7842-1-benato.denis96@gmail.com
Denis Benato (2):
iio: bmi270: suspend and resume triggering on relevant pm operations
iio: bmi160: suspend and resume triggering on relevant pm operations
drivers/iio/imu/bmi160/bmi160.h | 2 ++
drivers/iio/imu/bmi160/bmi160_core.c | 19 +++++++++++++++++++
drivers/iio/imu/bmi160/bmi160_i2c.c | 2 ++
drivers/iio/imu/bmi160/bmi160_spi.c | 2 ++
drivers/iio/imu/bmi270/bmi270.h | 2 ++
drivers/iio/imu/bmi270/bmi270_core.c | 20 ++++++++++++++++++++
drivers/iio/imu/bmi270/bmi270_i2c.c | 2 ++
drivers/iio/imu/bmi270/bmi270_spi.c | 2 ++
8 files changed, 51 insertions(+)
--
2.49.0
Powered by blists - more mailing lists