[PATCH v10 0/4] iio: pressure: dps310: hardware FIFO support
From: Rupesh Majhi
Date: Wed Sep 30 2026 - 06:04:39 EST
Rest of FIFO series, on iio/togreg which has 1-6 and 10 of v8.
Since v9, from Andy's review:
- patch 1: include time.h, one continue in drain temperature branch
- patch 4, new: lockdep_assert_held() next to every __must_hold(),
including 12 in applied code
Pressure overflow fix is now at v2:
https://lore.kernel.org/linux-iio/20260930085819.886339-1-zoone.rupert@xxxxxxxxx/
Retested on DPS310 with BeagleBone Black: buffer enables, flush race,
bad held entry, temperature-only capture. Lockdep asserts tested under
QEMU with PROVE_LOCKING, including a build with a lock left out.
v9: https://lore.kernel.org/linux-iio/20260928211127.641828-1-zoone.rupert@xxxxxxxxx/
Rupesh Majhi (4):
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 | 449 +++++++++++++++++++++++++++++++++-
1 file changed, 439 insertions(+), 10 deletions(-)
base-commit: a3b3580713f3ac5a32dc2874ee546828977a1d68
--
2.43.0