dt-bindings: mrvl,mmp-timer: add clock
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 28 Nov 2018 17:53:05 +0000 (18:53 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 30 Nov 2018 23:10:36 +0000 (15:10 -0800)
The timer needs the timer clock to be enabled, otherwise it stops
ticking.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Olof Johansson <olof@lixom.net>
Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt

index 9a6e251462e72c2b84d81cb22a1cd12a3efb3a28..b8f02c6635219f57a0473ab1d580ff00bf24b599 100644 (file)
@@ -5,9 +5,13 @@ Required properties:
 - reg : Address and length of the register set of timer controller.
 - interrupts : Should be the interrupt number.
 
+Optional properties:
+- clocks : Should contain a single entry describing the clock input.
+
 Example:
        timer0: timer@d4014000 {
                compatible = "mrvl,mmp-timer";
                reg = <0xd4014000 0x100>;
                interrupts = <13>;
+               clocks = <&coreclk 2>;
        };