[PATCH 02/15] dt-bindings: timer: add ti,dmtimer compatible for for system timers

Tony Lindgren
2020-04-29T21:54:16Z

The TI dual-mode timer can be used for both clocksource and clockevent
system timers. We need a way to specify which dual-mode timers are
reserved for system timers as there are multiple instances available
that may require a board specific configuration.

Let's add a generic compatible "ti,dmtimer" that TIMER_OF_DECLARE can
use as suggested by Daniel Lezcano <daniel.lezcano@linaro.org>.

Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
Documentation/devicetree/bindings/timer/ti,timer.txt | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/timer/ti,timer.txt b/Documentation/devicetree/bindings/timer/ti,timer.txt
--- a/Documentation/devicetree/bindings/timer/ti,timer.txt
+++ b/Documentation/devicetree/bindings/timer/ti,timer.txt
@@ -14,6 +14,7 @@ Required properties:
ti,omap5430-timer (applicable to OMAP543x devices)
ti,am335x-timer (applicable to AM335x devices)
ti,am335x-timer-1ms (applicable to AM335x devices)
+ ti,dmtimer (applicable to system timers)

- reg: Contains timer register address range (base address and
length).
--
2.26.2