diff options
| author | Andrew Bresticker <abrestic@chromium.org> | 2015-02-23 21:28:34 -0500 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-01 11:22:11 -0400 |
| commit | 5b4e845393d313af1d319b8bd01c9daaca3aa487 (patch) | |
| tree | 707f495616d86e67b329f2bda21d514bdaea1415 /Documentation/devicetree/bindings/interrupt-controller | |
| parent | 615eb603f4e1da4f151c7fac4aa175753a9913ec (diff) | |
CLOCKSOURCE: mips-gic: Allow GIC clock to be specified in device-tree
As an alternative to the "clock-frequency" property, allow the GIC
timer operating clock to be specified in the device-tree instead.
This is useful on systems which use common clock or where the GIC
is not fixed to a particular frequency and is instead, for example,
derived from the CPU clock.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9309/
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller')
| -rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt b/Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt index 5a65478e5d40..aae4c384ee1f 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt | |||
| @@ -27,8 +27,13 @@ Optional properties: | |||
| 27 | Required properties for timer sub-node: | 27 | Required properties for timer sub-node: |
| 28 | - compatible : Should be "mti,gic-timer". | 28 | - compatible : Should be "mti,gic-timer". |
| 29 | - interrupts : Interrupt for the GIC local timer. | 29 | - interrupts : Interrupt for the GIC local timer. |
| 30 | |||
| 31 | Optional properties for timer sub-node: | ||
| 32 | - clocks : GIC timer operating clock. | ||
| 30 | - clock-frequency : Clock frequency at which the GIC timers operate. | 33 | - clock-frequency : Clock frequency at which the GIC timers operate. |
| 31 | 34 | ||
| 35 | Note that one of clocks or clock-frequency must be specified. | ||
| 36 | |||
| 32 | Example: | 37 | Example: |
| 33 | 38 | ||
| 34 | gic: interrupt-controller@1bdc0000 { | 39 | gic: interrupt-controller@1bdc0000 { |
