From: cavokz@gmail.com (Domenico Andreoli)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V5 3/5] ARM: bcm2835: add system timer
Date: Mon, 1 Oct 2012 22:30:21 +0200 [thread overview]
Message-ID: <20121001203020.GA9346@raptus.dandreoli.com> (raw)
In-Reply-To: <1347690093-16910-3-git-send-email-swarren@wwwdotorg.org>
On Sat, Sep 15, 2012 at 12:21:31AM -0600, Stephen Warren wrote:
>
> diff --git a/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt b/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt
> new file mode 100644
> index 0000000..a0b727f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt
> @@ -0,0 +1,22 @@
> +BCM2835 System Timer
> +
> +The System Timer peripheral provides four 32-bit timer channels and a
> +single 64-bit free running counter. Each channel has an output compare
> +register, which is compared against the 32 least significant bits of the
> +free running counter values, and generates an interrupt.
> +
> +Required properties:
> +
> +- compatible : should be "brcm,bcm2835-system-timer.txt"
^^^^
typo here
> +- reg : Specifies base physical address and size of the registers.
> +- interrupts : A list of 4 interrupt sinks; one per timer channel.
> +- clock-frequency : The frequency of the clock that drives the counter, in Hz.
> +
> +Example:
> +
> +timer {
> + compatible = "brcm,bcm2835-system-timer";
> + reg = <0x20003000 0x1000>;
> + interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
> + clock-frequency = <1000000>;
> +};
cheers,
Domenico
next prev parent reply other threads:[~2012-10-01 20:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-15 6:21 [PATCH V5 1/5] ARM: add infra-structure for BCM2835 and Raspberry Pi Stephen Warren
2012-09-15 6:21 ` [PATCH V5 2/5] ARM: bcm2835: add interrupt controller driver Stephen Warren
2012-09-15 9:45 ` Russell King - ARM Linux
2012-09-15 17:12 ` Stephen Warren
2012-09-15 18:33 ` Russell King - ARM Linux
2012-09-16 1:40 ` Stephen Warren
2012-09-15 6:21 ` [PATCH V5 3/5] ARM: bcm2835: add system timer Stephen Warren
2012-10-01 20:30 ` Domenico Andreoli [this message]
2012-09-15 6:21 ` [PATCH V5 4/5] ARM: bcm2835: add stub clock driver Stephen Warren
2012-09-18 17:31 ` Mike Turquette
2012-09-15 6:21 ` [PATCH V5 5/5] ARM: bcm2835: instantiate console UART Stephen Warren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121001203020.GA9346@raptus.dandreoli.com \
--to=cavokz@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.