devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clockevent: add low power STM32 timer
@ 2020-01-16 15:19 Benjamin Gaignard
  2020-01-16 15:19 ` [PATCH v2 1/2] dt-bindings: mfd: Document STM32 low power clkevent bindings Benjamin Gaignard
  2020-01-16 15:19 ` [PATCH v2 2/2] clocksource: Add Low Power STM32 timers driver Benjamin Gaignard
  0 siblings, 2 replies; 3+ messages in thread
From: Benjamin Gaignard @ 2020-01-16 15:19 UTC (permalink / raw)
  To: daniel.lezcano, tglx, robh+dt, mark.rutland, mcoquelin.stm32,
	alexandre.torgue, linux, p.paillet, linus.walleij
  Cc: devicetree, linux-stm32, linux-arm-kernel, fabrice.gasnier,
	Benjamin Gaignard

This series add low power timer as boadcast clockevent device.
Low power timer could runs even when CPUs are in idle mode and 
could wakeup them.

version 2:
- stm32 clkevent driver is now a child of the stm32 lp timer node
- add a probe function and adpat the driver to use regmap provide
  by it parent
- stop using timer_of helpers
- document the bindings inside stm32 lptimer yaml

Benjamin Gaignard (2):
  dt-bindings: mfd: Document STM32 low power clkevent bindings
  clocksource: Add Low Power STM32 timers driver

 .../devicetree/bindings/mfd/st,stm32-lptimer.yaml  |  14 ++
 drivers/clocksource/Kconfig                        |   4 +
 drivers/clocksource/Makefile                       |   1 +
 drivers/clocksource/timer-stm32-lp.c               | 251 +++++++++++++++++++++
 4 files changed, 270 insertions(+)
 create mode 100644 drivers/clocksource/timer-stm32-lp.c

-- 
2.15.0


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

end of thread, other threads:[~2020-01-16 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-16 15:19 [PATCH v2 0/2] clockevent: add low power STM32 timer Benjamin Gaignard
2020-01-16 15:19 ` [PATCH v2 1/2] dt-bindings: mfd: Document STM32 low power clkevent bindings Benjamin Gaignard
2020-01-16 15:19 ` [PATCH v2 2/2] clocksource: Add Low Power STM32 timers driver Benjamin Gaignard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).