iio: pressure: mpl3115: add hardware FIFO support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | iio: pressure: mpl3115: convert probe to fully devm manageddrivers/ | +39 | 5 replies | |
| 2/4 | iio: pressure: mpl3115: clean up interrupt handling and lockingdrivers/ | +29 | 4 replies | |
| 3/4 | iio: pressure: mpl3115: generalize interrupt pin routingdrivers/ | +17 | 4 replies | |
| 4/4 | iio: pressure: mpl3115: add hardware FIFO supportdrivers/ | +256 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] iio: pressure: mpl3115: add hardware FIFO support
The MPL3115A2 pressure/temperature sensor provides a 32-sample hardware FIFO with watermark interrupt support. This series adds FIFO support, enabling buffered data acquisition with reduced interrupt and CPU overheads.
1/4 - Convert to devm-managed resource allocation
2/4 - Clean up interrupt handling and locking
3/4 - Generalize interrupt pin routing
4/4 - Add hardware FIFO support
Tested on Raspberry Pi 4 Model B with an MPL3115A2 breakout board (I2C1, INT1 on GPIO17, falling edge)
- FIFO circular mode operation
- Watermark interrupt generation
- Buffered pressure/temperature data acquisition
- Buffer enable/disable cycling
- Oneshot reads after FIFO operation
This work builds on the DRDY interrupt, triggered buffer, sampling frequency, and threshold event support previously added by Antoni Pokusinski.
SeungJu Cheon (4):
iio: pressure: mpl3115: convert probe to fully devm managed
iio: pressure: mpl3115: clean up interrupt handling and locking
iio: pressure: mpl3115: generalize interrupt pin routing
iio: pressure: mpl3115: add hardware FIFO support
drivers/iio/pressure/mpl3115.c | 421 ++++++++++++++++++++++++++------- 1 file changed, 332 insertions(+), 89 deletions(-)
Signature · 1 line
2.52.0