Skip to content

Commit 63ce2cc

Browse files
ezequielgarciadlezcano
authored andcommitted
clocksource: armada-370-xp: Add detailed clock requirements in devicetree binding
Specifies the required clock inputs for each supported compatible. Armada 370 requires a single clock phandle, and Armada XP requires two clock phandles with clock-names "nbclk" and "fixed". Cc: devicetree@vger.kernel.org Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Jason Cooper <jason@lakedaemon.net> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
1 parent 5e9fe6c commit 63ce2cc

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,15 @@ Required properties:
99
- reg: Should contain location and length for timers register. First
1010
pair for the Global Timer registers, second pair for the
1111
local/private timers.
12-
- clocks: clock driving the timer hardware, only required for
13-
"marvell,armada-370-timer";
12+
13+
Clocks required for compatible = "marvell,armada-370-timer":
14+
- clocks : Must contain a single entry describing the clock input
15+
16+
Clocks required for compatible = "marvell,armada-xp-timer":
17+
- clocks : Must contain an entry for each entry in clock-names.
18+
- clock-names : Must include the following entries:
19+
"nbclk" (L2/coherency fabric clock),
20+
"fixed" (Reference 25 MHz fixed-clock).
1421

1522
Examples:
1623

@@ -29,4 +36,6 @@ Examples:
2936
compatible = "marvell,armada-xp-timer";
3037
reg = <0x20300 0x30>, <0x21040 0x30>;
3138
interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
39+
clocks = <&coreclk 2>, <&refclk>;
40+
clock-names = "nbclk", "fixed";
3241
};

0 commit comments

Comments
 (0)