Skip to content

Counter updates, cleanups, and features for 5.18

William Breathitt Gray linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/26 patches 2 repliesIn review
  2. v1 posting 1/21 patch 3 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6counter: 104-quad-8: Add COMPILE_TEST dependsdrivers/counter/Kconfig+1 -11 reply
2/6counter: Set counter device namedrivers/counter/counter-core.c+11 -10 replies
3/6counter: add new COUNTER_EVENT_CHANGE_OF_STATEinclude/uapi/linux/counter.h+2 -00 replies
4/6counter: interrupt-cnt: add counter_push_event()drivers/counter/interrupt-cnt.c+5 -20 replies
5/6MAINTAINERS: Add Counter subsystem git treeMAINTAINERS+1 -00 replies
6/6counter: add defaults to switch-statementsdrivers/counter/counter-chrdev.c+4 -01 reply

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchUwe Kleine-KönigJonathan CameronSyed Nayyar Waris
1/6A-b A-b
2/6A-b
3/6
4/6
5/6
6/6R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [RESEND PATCH 0/6] Counter updates, cleanups, and features for 5.18

First set of new Counter updates, cleanups, and features for 5.18

Only a few changes this cycle, but we do see the addition of a new COUNTER_EVENT_CHANGE_OF_STATE event type that allows userspace to watch counter pulses.

Features
* Add new COUNTER_EVENT_CHANGE_OF_STATE. This adds new counter event to notify user space about every new counter pulse. The interrupt-cnt driver is the first to use this new feature.

Cleanups
- Add Counter subsystem git tree to MAINTAINERS file.
- Set counter device name. This provides a convenient way to identify the counter device in devres_log events and similar situations.
- Add defaults to switch-statements. This pacifies warning messages from Clang static analysis reports.

Driver Updates
* 104-quad-8
- Add COMPILE_TEST depends
* interrupt-cnt
- Add counter_push_event()

Oleksij Rempel (2):
counter: add new COUNTER_EVENT_CHANGE_OF_STATE
counter: interrupt-cnt: add counter_push_event()

Tom Rix (1):
counter: add defaults to switch-statements

William Breathitt Gray (3):
counter: 104-quad-8: Add COMPILE_TEST depends
counter: Set counter device name
MAINTAINERS: Add Counter subsystem git tree

 MAINTAINERS                      |  1 +
 drivers/counter/Kconfig          |  2 +-
 drivers/counter/counter-chrdev.c |  4 ++++
 drivers/counter/counter-core.c   | 12 +++++++++++-
 drivers/counter/interrupt-cnt.c  |  7 +++++--
 include/uapi/linux/counter.h     |  2 ++
 6 files changed, 24 insertions(+), 4 deletions(-)

base-commit: 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3

Signature · 1 line
2.35.1