counter: ti-eqep: implement features for speed measurement
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 32 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | counter/ti-eqep: implement over/underflow eventsdrivers/ | +117 | 4 replies | |
| 2/8 | counter/ti-eqep: add support for directiondrivers/ include/ | +35 | 2 replies | |
| 3/8 | counter/ti-eqep: add support for unit timerdrivers/ include/ | +133 | 6 replies | |
| 4/8 | docs: counter: add unit timer sysfs attributesDocumentation/ drivers/ | +25 | 7 replies | |
| 5/8 | counter/ti-eqep: add support for latched positiondrivers/ | +50 | 3 replies | |
| 6/8 | docs: counter: add latch_mode and latched_count sysfs attributesDocumentation/ | +30 | 6 replies | |
| 7/8 | counter/ti-eqep: add support for edge capture unitdrivers/ | +150 | 3 replies | |
| 8/8 | docs: counter: add edge_capture_unit_* attributesDocumentation/ | +37 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] counter: ti-eqep: implement features for speed measurement
Now that the counter subsystem has a new chrdev for events, we can use this to add new features to the TI eQEP driver to be able to do accurate speed measurement.
This adds two new device-level components, a Unit Timer and an Edge Capture Unit. I don't have much knowledge about other available counter hardware, so I don't know if it makes sense to try to make these more generic, e.g. counterX/timerY/* and counterX/captureY/*. For now, they are just flat (counterX/unit_timer_* and counterX/edge_capture_unit_*) and assume there is only one instance per counter device.
This has been tested on a BeagleBone Blue with LEGO MINDSTORMS motors.
David Lechner (8):
counter/ti-eqep: implement over/underflow events counter/ti-eqep: add support for direction counter/ti-eqep: add support for unit timer
docs: counter: add unit timer sysfs attributes counter/ti-eqep: add support for latched position
docs: counter: add latch_mode and latched_count sysfs attributes counter/ti-eqep: add support for edge capture unit
docs: counter: add edge_capture_unit_* attributes
Documentation/ABI/testing/sysfs-bus-counter | 100 +++- drivers/counter/ti-eqep.c | 482 +++++++++++++++++++- include/uapi/linux/counter.h | 4 + 3 files changed, 575 insertions(+), 11 deletions(-)
Signature · 1 line
2.25.1