All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] counter: fix, improvements and stm32 timer events support
@ 2023-08-29 13:40 ` Fabrice Gasnier
  0 siblings, 0 replies; 42+ messages in thread
From: Fabrice Gasnier @ 2023-08-29 13:40 UTC (permalink / raw)
  To: william.gray, lee
  Cc: alexandre.torgue, fabrice.gasnier, linux-iio, linux-stm32,
	linux-arm-kernel, linux-kernel

This series combines some fix and improvements to the counter interface,
found while stm32 timer counter driver developements.
It also introduces a new tool that can be used for testing.

Then, it improves the stm32 timer counter driver by introducing new signals,
e.g. counting frequency, and missing channels.
It also adds support for interrupt based events using the chrdev interface.
Two event types are added in this series: overflows and capture.

Up to now, stm32 timer counter driver focused mainly on quadrature
encoder feature. With this series, all timer instances can be enabled
for simple counting (with overflow and capture events).

Fabrice Gasnier (8):
  counter: chrdev: fix getting array extensions
  counter: chrdev: remove a typo in header file comment
  tools/counter: add a flexible watch events tool
  mfd: stm32-timers: add support for interrupts
  counter: stm32-timer-cnt: rename quadrature signal
  counter: stm32-timer-cnt: introduce clock signal
  counter: stm32-timer-cnt: populate capture channels and check encoder
  counter: stm32-timer-cnt: add support for events

 drivers/counter/counter-chrdev.c     |   4 +-
 drivers/counter/stm32-timer-cnt.c    | 585 ++++++++++++++++++++++++++-
 drivers/mfd/stm32-timers.c           |  46 +++
 include/linux/mfd/stm32-timers.h     |  26 ++
 include/uapi/linux/counter.h         |   2 +-
 tools/counter/Build                  |   1 +
 tools/counter/Makefile               |   8 +-
 tools/counter/counter_watch_events.c | 348 ++++++++++++++++
 8 files changed, 998 insertions(+), 22 deletions(-)
 create mode 100644 tools/counter/counter_watch_events.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2023-10-04  1:06 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-29 13:40 [PATCH 0/8] counter: fix, improvements and stm32 timer events support Fabrice Gasnier
2023-08-29 13:40 ` Fabrice Gasnier
2023-08-29 13:40 ` [PATCH 1/8] counter: chrdev: fix getting array extensions Fabrice Gasnier
2023-08-29 13:40   ` Fabrice Gasnier
2023-09-04 20:36   ` William Breathitt Gray
2023-09-04 20:36     ` William Breathitt Gray
2023-08-29 13:40 ` [PATCH 2/8] counter: chrdev: remove a typo in header file comment Fabrice Gasnier
2023-08-29 13:40   ` Fabrice Gasnier
2023-09-04 20:40   ` William Breathitt Gray
2023-09-04 20:40     ` William Breathitt Gray
2023-08-29 13:40 ` [PATCH 3/8] tools/counter: add a flexible watch events tool Fabrice Gasnier
2023-08-29 13:40   ` Fabrice Gasnier
2023-09-17 19:07   ` William Breathitt Gray
2023-09-17 19:07     ` William Breathitt Gray
2023-09-19 15:37     ` Fabrice Gasnier
2023-09-19 15:37       ` Fabrice Gasnier
2023-09-21 13:05       ` Fabrice Gasnier
2023-09-21 13:05         ` Fabrice Gasnier
2023-10-04  1:06       ` William Breathitt Gray
2023-10-04  1:06         ` William Breathitt Gray
2023-08-29 13:40 ` [PATCH 4/8] mfd: stm32-timers: add support for interrupts Fabrice Gasnier
2023-08-29 13:40   ` Fabrice Gasnier
2023-09-21 11:50   ` (subset) " Lee Jones
2023-09-21 11:50     ` Lee Jones
2023-08-29 13:40 ` [PATCH 5/8] counter: stm32-timer-cnt: rename quadrature signal Fabrice Gasnier
2023-08-29 13:40   ` Fabrice Gasnier
2023-09-04 19:34   ` William Breathitt Gray
2023-09-04 19:34     ` William Breathitt Gray
2023-08-29 13:40 ` [PATCH 6/8] counter: stm32-timer-cnt: introduce clock signal Fabrice Gasnier
2023-08-29 13:40   ` Fabrice Gasnier
2023-08-29 13:40 ` [PATCH 7/8] counter: stm32-timer-cnt: populate capture channels and check encoder Fabrice Gasnier
2023-08-29 13:40   ` Fabrice Gasnier
2023-08-29 13:40 ` [PATCH 8/8] counter: stm32-timer-cnt: add support for events Fabrice Gasnier
2023-08-29 13:40   ` Fabrice Gasnier
2023-08-29 18:00   ` kernel test robot
2023-08-29 18:00     ` kernel test robot
2023-08-30  7:40   ` kernel test robot
2023-08-30  7:40     ` kernel test robot
2023-09-21 11:51   ` Lee Jones
2023-09-21 11:51     ` Lee Jones
2023-09-04 19:31 ` [PATCH 0/8] counter: fix, improvements and stm32 timer events support William Breathitt Gray
2023-09-04 19:31   ` William Breathitt Gray

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.