Thread (15 messages) flat view 15 messages, 3 authors, 2017-12-08

[PATCH v9 4/6] clocksource: stm32: add clocksource support

From: Benjamin Gaignard <hidden>
Date: 2017-12-08 14:04:46
Also in: linux-devicetree, lkml

2017-12-08 14:46 GMT+01:00 Daniel Lezcano [off-list ref]:
On 08/12/2017 12:32, Benjamin Gaignard wrote:
quoted
The stm32 timer hardware is currently only used as a clock event device,
but it can be utilized as a clocksource as well.

Implement this by enabling the free running counter in the hardware block
and converting the clock event part from a count down event timer to a
comparator based timer.

Split this patch in two:
 - periodic support
 - clocksource support
No because the way of implementing periodic support depend of how clocksource
part is implemented on the hardware.
I don't want to code functions that I will completely remove just after



--
 <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help