Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: fix suspend and resume triggering for bmi160 and bmi270
@ 2025-05-09 17:15 Denis Benato
  2025-05-09 17:15 ` [PATCH 1/2] iio: bmi270: suspend and resume triggering on relevant pm operations Denis Benato
  2025-05-09 17:15 ` [PATCH 2/2] iio: bmi160: " Denis Benato
  0 siblings, 2 replies; 7+ messages in thread
From: Denis Benato @ 2025-05-09 17:15 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Alex Lanzano, David Lechner, Nuno Sá, Andy Shevchenko,
	linux-iio, Derek J. Clark, Philip Müller, Denis Benato

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.

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 | 20 ++++++++++++++++++++
 drivers/iio/imu/bmi160/bmi160_i2c.c  |  1 +
 drivers/iio/imu/bmi160/bmi160_spi.c  |  1 +
 drivers/iio/imu/bmi270/bmi270.h      |  2 ++
 drivers/iio/imu/bmi270/bmi270_core.c | 21 +++++++++++++++++++++
 drivers/iio/imu/bmi270/bmi270_i2c.c  |  1 +
 drivers/iio/imu/bmi270/bmi270_spi.c  |  1 +
 8 files changed, 49 insertions(+)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-05-25  9:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 17:15 [PATCH 0/2] iio: fix suspend and resume triggering for bmi160 and bmi270 Denis Benato
2025-05-09 17:15 ` [PATCH 1/2] iio: bmi270: suspend and resume triggering on relevant pm operations Denis Benato
2025-05-12  8:54   ` Andy Shevchenko
2025-05-24 20:25     ` Denis Benato
2025-05-25  9:33       ` Jonathan Cameron
2025-05-09 17:15 ` [PATCH 2/2] iio: bmi160: " Denis Benato
2025-05-12  8:55   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox