mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 0/2] MIPS: csrc-r4k: get counter rate from devicetree
Date: Wed,  6 Jul 2016 23:38:24 +0300	[thread overview]
Message-ID: <1467837506-32177-1-git-send-email-antonynpavlov@gmail.com> (raw)

At the moment csrc-r4k rate is fixed to 100 MHz.
This is acceptable only for qemu-malta.

This patch introduces a devicetree-based solution
for detecting csrc-r4k counter rate.

The most notable users of this patch are AR9331-based boards.


Antony Pavlov (2):
  of: base: import of_get_cpu_node() from linux-v4.7-rc2
  MIPS: csrc-r4k: get cp0 counter rate from devicetree

 arch/mips/lib/csrc-r4k.c | 24 ++++++++++++--
 drivers/of/base.c        | 86 ++++++++++++++++++++++++++++++++++++++++++++++++
 include/of.h             | 10 ++++++
 3 files changed, 118 insertions(+), 2 deletions(-)

-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2016-07-06 20:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-06 20:38 Antony Pavlov [this message]
2016-07-06 20:38 ` [PATCH 1/2] of: base: import of_get_cpu_node() from linux-v4.7-rc2 Antony Pavlov
2016-07-06 20:38 ` [PATCH 2/2] MIPS: csrc-r4k: get cp0 counter rate from devicetree Antony Pavlov
2016-07-07  7:30 ` [PATCH 0/2] MIPS: csrc-r4k: get " Sascha Hauer

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=1467837506-32177-1-git-send-email-antonynpavlov@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox