Re: [PATCH v3 5/6] pwm: stm32: use input prescaler to improve period capture

From: Lee Jones
Date: Mon Apr 16 2018 - 08:25:33 EST


On Fri, 30 Mar 2018, Fabrice Gasnier wrote:

> Using input prescaler, capture unit will trigger DMA once every
> configurable /2, /4 or /8 events (rising edge). This helps improve
> period (only) capture accuracy at high rates.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@xxxxxx>
> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@xxxxxxxxxx>
> Acked-by: Thierry Reding <thierry.reding@xxxxxxxxx>
> ---
> Changes in v2:
> - Adopt DMA read from MFD core.
> ---
> drivers/pwm/pwm-stm32.c | 63 ++++++++++++++++++++++++++++++++++++++--
> include/linux/mfd/stm32-timers.h | 1 +

For my own reference:
Acked-for-MFD-by: Lee Jones <lee.jones@xxxxxxxxxx>

> 2 files changed, 62 insertions(+), 2 deletions(-)

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog