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 <[email protected]>.

Suggested-by: Daniel Lezcano <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
---
 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

Reply via email to