[PATCH 8/8] counter: stm32-timer-cnt: add support for events

Lee Jones lee at kernel.org
Thu Sep 21 04:51:32 PDT 2023


On Tue, 29 Aug 2023, Fabrice Gasnier wrote:

> Add support for capture and overflow events. Also add the related
> validation and configuration. Captured counter value can be retrieved
> through CCRx register. Register and enable interrupts to push events.
> 
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier at foss.st.com>
> ---
>  drivers/counter/stm32-timer-cnt.c | 279 +++++++++++++++++++++++++++++-

>  include/linux/mfd/stm32-timers.h  |  15 ++

Acked-by: Lee Jones <lee at kernel.org>

>  2 files changed, 285 insertions(+), 9 deletions(-)

-- 
Lee Jones [李琼斯]



More information about the linux-arm-kernel mailing list