iio-interrupt-trigger enhancements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iio:iio-interrupt-trigger: device-tree supportdrivers/ | +10 | 4 replies | |
| 2/2 | iio:iio-interrupt-trigger: sysfs poll supportDocumentation/ drivers/ | +88 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] iio-interrupt-trigger enhancements
First patch enable device-tree support.
Second one adds poll(2) support through a new sysfs attribute file "count" showing how many times the attached interrupt occurred since trigger initialization. This allows a userspace process :
* to explicitly wait for the interrupt to happen ;
* and to know wether or not it missed interrupt events since last count retrieval.
Regards.
Grégor
Grégor Boirie (2):
iio:iio-interrupt-trigger: device-tree support
iio:iio-interrupt-trigger: sysfs poll support
.../ABI/testing/sysfs-bus-iio-trig-interrupt | 22 +++++ drivers/iio/trigger/iio-trig-interrupt.c | 99 +++++++++++++++++----- 2 files changed, 98 insertions(+), 23 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-trig-interrupt
Signature · 1 line
2.1.4