mbox series

[v2,0/2] clockevent: add low power STM32 timer

Message ID 20200116151918.20987-1-benjamin.gaignard@st.com
Headers show
Series clockevent: add low power STM32 timer | expand

Message

Benjamin Gaignard Jan. 16, 2020, 3:19 p.m. UTC
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