All of lore.kernel.org
 help / color / mirror / Atom feed
From: drasko.draskovic@gmail.com (Drasko DRASKOVIC)
To: linux-arm-kernel@lists.infradead.org
Subject: Cortex A9 Private Timer
Date: Fri, 30 Aug 2013 17:14:17 +0200	[thread overview]
Message-ID: <CAEk6gTAZ9U3HgBpNDLR4ZuKkxdSHNj7wmtU_=n=-YUOaL_OnwQ@mail.gmail.com> (raw)

Hi all,
I was wondering is it possible to use ARM Cortex A9 private timer to
provoke interrupt due the timeout (use it as an alarm).

I have been looking in  Cortex-A9 MPCore doc, and have seen that it is
routed to IRQ29.

In arch/arm/mach-vexpress/include/mach/irqs.h I can see IRQ_LOCALTIMER
defined, but I do not see it used anywhere. Is there some example of
this timer usage I can look at and see what have to be done to set up
this timer and associate irq, so that it is triggered each time the
timer expires.

BR,
Drasko

                 reply	other threads:[~2013-08-30 15:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAEk6gTAZ9U3HgBpNDLR4ZuKkxdSHNj7wmtU_=n=-YUOaL_OnwQ@mail.gmail.com' \
    --to=drasko.draskovic@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.