Skip to content

RFC ARM: OMAP3+: Add device-tree support for timers

Jon Hunter linux-arm-kernel linux-devicetree linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm/dts: OMAP: Add genernal purpose timer nodesDocumentation/devicetree/bindings/arm/omap/timer.txt arch/arm/boot/dts/omap3.dtsi arch/arm/boot/dts/omap4.dtsi+231 -00 replies
1/4arm/dts: OMAP: Add timer nodesDocumentation/devicetree/bindings/arm/omap/timer.txt arch/arm/boot/dts/omap3.dtsi arch/arm/boot/dts/omap4.dtsi+231 -00 replies
2/4ARM: OMAP3: Dynamically disable secure timer nodes for secure devicesarch/arm/mach-omap2/board-generic.c arch/arm/mach-omap2/common.h arch/arm/mach-omap2/timer.c+38 -00 replies
3/4ARM: OMAP4: Add timer clock aliases for device-treearch/arm/mach-omap2/clock44xx_data.c+12 -00 replies
4/4ARM: OMAP: Add DT support for dmtimer driverarch/arm/mach-omap2/timer.c arch/arm/plat-omap/dmtimer.c+30 -60 replies
4/4ARM: OMAP: Add DT support for timer driverarch/arm/mach-omap2/timer.c arch/arm/plat-omap/dmtimer.c+30 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/4] ARM: OMAP3+: Add device-tree support for timers

This series adds device-tree support for the timers on OMAP3/4 devices. Once everyone is happy with the implementation I can add support for OMAP2/5 devices too.

Testing:
- I have tested the all the timers (not used by the kernel as sys-timers) on both OMAP3430 Beagle and OMAP4460 Panda with/without device-tree with this series.
- The testing includes
- Configuring, starting a timer and checking the counter value is incrementing.
- Testing timer overflow interrupt when timer expires.
- Using different clock sources to operate the timer with.
- Using DT to provide resource information for IRQ and memory by removing Benoit's intention "HACK" in commit a4f6cdb0 (ARM: OMAP:
omap_device: Add omap_device_[alloc|delete] for DT integration)

Jon Hunter (4):
arm/dts: OMAP: Add timer nodes
ARM: OMAP3: Dynamically disable secure timer nodes for secure devices
ARM: OMAP4: Add timer clock aliases for device-tree
ARM: OMAP: Add DT support for timer driver

 .../devicetree/bindings/arm/omap/timer.txt         |   34 +++++++
 arch/arm/boot/dts/omap3.dtsi                       |  104 ++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |   93 +++++++++++++++++
 arch/arm/mach-omap2/board-generic.c                |    1 +
 arch/arm/mach-omap2/clock44xx_data.c               |   12 +++
 arch/arm/mach-omap2/common.h                       |    1 +
 arch/arm/mach-omap2/timer.c                        |   40 ++++++++
 arch/arm/plat-omap/dmtimer.c                       |   32 ++++--
 8 files changed, 311 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/omap/timer.txt
Signature · 1 line
1.7.9.5