mbox series

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

Message ID 20200128120702.26166-1-benjamin.gaignard@st.com (mailing list archive)
Headers show
Series clockevent: add low power STM32 timer | expand

Message

Benjamin GAIGNARD Jan. 28, 2020, 12:07 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 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

Comments

Benjamin GAIGNARD Feb. 10, 2020, 9:02 a.m. UTC | #1
On 1/28/20 1:07 PM, Benjamin Gaignard wrote:
> 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.

Gentle ping to reviewers.

Thanks,

Benjamin

>
> 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
>