Thread (11 messages) 11 messages, 4 authors, 2020-01-16

Re: [PATCH 2/3] clocksource: Add Low Power STM32 timers driver

From: Linus Walleij <hidden>
Date: 2020-01-16 09:06:54
Also in: linux-arm-kernel

On Thu, Jan 9, 2020 at 3:54 PM Benjamin Gaignard
[off-list ref] wrote:
Implement clock event driver using low power STM32 timers.
Low power timers counter s running even in when CPU is in stop mode.
It could be used as clock event broadcaster to wake up CPUs but not like
a clocksource because each it rise an interrupt the counter restart from 0.

Signed-off-by: Benjamin Gaignard <redacted>
Signed-off-by: Pascal Paillet <redacted>
Looks good to me:
Reviewed-by: Linus Walleij <redacted>

If you have a spare always-on timer (and it looks like you have) which
you can set as free-running, you could register it with
CLOCK_SOURCE_SUSPEND_NONSTOP so it
keeps the system clock ticking also during suspend as
alternative clock source.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help