[PATCH 0/2] iio: pressure: dps310: data-ready trigger
From: Rupesh Majhi
Date: Tue Nov 10 2026 - 11:53:26 EST
DPS310 can raise an interrupt on SDO for each new result. Document it
and use it for a data-ready trigger, so triggered captures follow the
measurements and are stamped with the interrupt time.
Tested on a DPS310 breakout (0x77) on a BeagleBone Black with SDO to a
GPIO, level-low and falling-edge: one scan per pressure result at 1 and
8 Hz, gaps steady to 0.15 ms where the handler timestamp moved 1-2 ms.
Without an interrupt nothing changes. Not tested: active high, which
needs SDO strapped low (0x76), and ZTS8032.
If the chip stalls, the case the timeout reset is for, the trigger stops
firing until the buffer is disabled and a read resets the chip.
Cc: Paulius Zaleckas <paulius.zaleckas@xxxxxxxxx>
Rupesh Majhi (2):
dt-bindings: iio: pressure: infineon,dps310: Add interrupts
iio: pressure: dps310: add a data-ready trigger
.../iio/pressure/infineon,dps310.yaml | 10 ++
drivers/iio/pressure/dps310.c | 129 +++++++++++++++++-
2 files changed, 135 insertions(+), 4 deletions(-)
base-commit: b70566610b48ba49dec636019da4d696db64b085
--
2.43.0