[PATCH v11 0/5] iio: pressure: dps310: hardware FIFO support

From: Rupesh Majhi

Date: Fri Oct 02 2026 - 03:25:42 EST


Rest of FIFO series, on iio/togreg which has 1-6 and 10 of v8.

Since v10:
- patch 1, new: devm_mutex_init()
- patch 2: devm_delayed_work_autocancel(), modes reordered, unused
units.h dropped
- patch 3: drain_interval_ms local
- patch 5: Suggested-by dropped, patch is optional

Pressure overflow fix is now at v3:
https://lore.kernel.org/linux-iio/20261001121616.109973-1-zoone.rupert@xxxxxxxxx/
Patches 1 and 5 conflict trivially with it. I can rebase on whichever
goes in first.

Retested on DPS310 with BeagleBone Black, now also unbind during
capture. Lockdep run under QEMU.

v10: https://lore.kernel.org/linux-iio/20260930100158.957977-1-zoone.rupert@xxxxxxxxx/

Rupesh Majhi (5):
iio: pressure: dps310: use devm_mutex_init()
iio: pressure: dps310: read buffered samples from the hardware FIFO
iio: pressure: dps310: derive the drain interval from the watermark
iio: pressure: dps310: implement .hwfifo_flush_to_buffer()
iio: pressure: dps310: assert the lock at runtime too

drivers/iio/pressure/dps310.c | 447 +++++++++++++++++++++++++++++++++-
1 file changed, 436 insertions(+), 11 deletions(-)


base-commit: a3b3580713f3ac5a32dc2874ee546828977a1d68
--
2.43.0