All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] clockevent: add low power STM32 timer
@ 2020-01-28 12:07 ` Benjamin Gaignard
  0 siblings, 0 replies; 16+ messages in thread
From: Benjamin Gaignard @ 2020-01-28 12:07 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 3:
- fix timer set sequence
- don't forget to free irq on remove function
- use devm_kzalloc to simplify errors handling in probe function

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               | 248 +++++++++++++++++++++
 4 files changed, 267 insertions(+)
 create mode 100644 drivers/clocksource/timer-stm32-lp.c

-- 
2.15.0


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

end of thread, other threads:[~2020-02-12 19:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-28 12:07 [PATCH v3 0/2] clockevent: add low power STM32 timer Benjamin Gaignard
2020-01-28 12:07 ` Benjamin Gaignard
2020-01-28 12:07 ` [PATCH v3 1/2] dt-bindings: mfd: Document STM32 low power clkevent bindings Benjamin Gaignard
2020-01-28 12:07   ` Benjamin Gaignard
2020-02-12 16:51   ` Daniel Lezcano
2020-02-12 16:51     ` Daniel Lezcano
2020-02-12 17:07     ` Benjamin GAIGNARD
2020-02-12 17:07       ` Benjamin GAIGNARD
2020-02-12 19:23       ` Daniel Lezcano
2020-02-12 19:23         ` Daniel Lezcano
2020-01-28 12:07 ` [PATCH v3 2/2] clocksource: Add Low Power STM32 timers driver Benjamin Gaignard
2020-01-28 12:07   ` Benjamin Gaignard
2020-02-12 19:20   ` Daniel Lezcano
2020-02-12 19:20     ` Daniel Lezcano
2020-02-10  9:02 ` [PATCH v3 0/2] clockevent: add low power STM32 timer Benjamin GAIGNARD
2020-02-10  9:02   ` Benjamin GAIGNARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.