public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v4 14/17] riscv: Try to get cpu frequency from device tree
Date: Wed, 19 Feb 2020 15:02:05 -0500	[thread overview]
Message-ID: <c388c832-3102-3195-64ee-345e95c538a2@gmail.com> (raw)
In-Reply-To: <CAEUhbmVeV2jHfDeqDYtGKhOy3=boZ-XNYYOj4E8tGgWDzmCuGg@mail.gmail.com>

On 2/19/20 11:12 AM, Bin Meng wrote:
> Hi Sean,
> 
> On Tue, Feb 11, 2020 at 2:05 PM Sean Anderson <seanga2@gmail.com> wrote:
>>
>> Instead of always using the "clock-frequency" property to determine cpu
>> frequency, try using a clock in "clocks" if it exists. This patch also
>> fixes a bug where there could be spurious higher frequencies if sizeof(u32)
>> != sizeof(ulong).
>>
> 
> I just realized the commit title looked a little bit confusing.
> 
> I think it could be more specific like:
> 
> riscv: Try to get cpu frequency from a "clocks" node if it exists
> 
> ?
> 
> Regards,
> Bin
> 

That makes sense to me.

--Sean

  reply	other threads:[~2020-02-19 20:02 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-11  6:04 [PATCH v4 00/17] riscv: Add Sipeed Maix support Sean Anderson
2020-02-11  6:04 ` [PATCH v4 01/17] clk: Always use the supplied struct clk Sean Anderson
2020-02-11  6:04 ` [PATCH v4 02/17] clk: Check that ops of composite clock components exist before calling Sean Anderson
2020-02-11  6:04 ` [PATCH v4 03/17] clk: Unconditionally recursively en-/dis-able clocks Sean Anderson
2020-02-18  7:20   ` Rick Chen
2020-02-18 14:11     ` Sean Anderson
2020-02-19  1:43       ` Rick Chen
2020-02-11  6:04 ` [PATCH v4 04/17] reset: Add generic reset driver Sean Anderson
2020-02-11 17:14   ` Simon Glass
2020-02-11  6:04 ` [PATCH v4 05/17] dm: Add support for simple-pm-bus Sean Anderson
2020-02-11 17:14   ` Simon Glass
2020-02-11 17:26     ` Sean Anderson
2020-02-11  6:04 ` [PATCH v4 06/17] spi: dw: Add device tree properties for fields in CTRL1 Sean Anderson
2020-02-11 17:14   ` Simon Glass
     [not found]   ` <752D002CFF5D0F4FA35C0100F1D73F3FA46D6F65@ATCPCS16.andestech.com>
2020-02-18  6:05     ` Rick Chen
2020-02-18  6:50       ` Sean Anderson
2020-02-11  6:04 ` [PATCH v4 07/17] spi: dw: Add mem_ops Sean Anderson
2020-02-18  8:34   ` Rick Chen
2020-02-18 16:32     ` Sean Anderson
2020-02-19  1:39       ` Rick Chen
2020-02-19  3:51         ` Sean Anderson
2020-02-19 15:31           ` Bin Meng
2020-02-11  6:04 ` [PATCH v4 08/17] riscv: Add headers for asm/global_data.h Sean Anderson
2020-02-19 15:32   ` Bin Meng
2020-02-11  6:04 ` [PATCH v4 09/17] riscv: Add option to support RISC-V privileged spec 1.9.1 Sean Anderson
2020-02-19 15:26   ` Bin Meng
2020-02-11  6:04 ` [PATCH v4 10/17] riscv: Allow use of reset drivers Sean Anderson
2020-02-11  6:04 ` [PATCH v4 11/17] riscv: Add K210 pll support Sean Anderson
2020-02-11  6:04 ` [PATCH v4 12/17] riscv: Add a bypass clock for K210 Sean Anderson
2020-02-18  6:35   ` Rick Chen
2020-02-18  7:04     ` Sean Anderson
2020-02-18  7:14       ` Rick Chen
2020-02-11  6:04 ` [PATCH v4 13/17] riscv: Add K210 clock support Sean Anderson
2020-02-11  6:04 ` [PATCH v4 14/17] riscv: Try to get cpu frequency from device tree Sean Anderson
2020-02-19 16:12   ` Bin Meng
2020-02-19 20:02     ` Sean Anderson [this message]
2020-02-11  6:04 ` [PATCH v4 15/17] riscv: Enable cpu clock if it is present Sean Anderson
2020-02-11  6:04 ` [PATCH v4 16/17] riscv: Add device tree for K210 Sean Anderson
2020-02-11  6:04 ` [PATCH v4 17/17] riscv: Add Sipeed Maix support Sean Anderson

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=c388c832-3102-3195-64ee-345e95c538a2@gmail.com \
    --to=seanga2@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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