U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 3/5] davinci: add clocks command
Date: Mon, 17 Oct 2011 12:53:34 +0200	[thread overview]
Message-ID: <20111017105334.B187F140797D@gemini.denx.de> (raw)
In-Reply-To: <4E9C017D.1080407@gmail.com>

Dear "=?ISO-8859-1?Q?Andreas_Bie=DFmann?=",

In message <4E9C017D.1080407@gmail.com> you wrote:
>
> > add 'clocks' command to print various clock frequency info found
> > in SOC such as ARM core frequency, DSP core frequency and DDR
> > frequency.
> 
> Isn't that the job of command 'bdi'? Why introduce a new, proprietary
> command instead of changing still available ones?

"bdinfo" indeed should include major clock information, but does not
necissarily print all relevant data on a specific SoC.

> Well maybe is a 'clocks' command really useful, but then it should be
> provided to all with a clear interface and not hidden in some
> architecture specific directory.

Correct.  There are already several such implementations (in
arch/powerpc/cpu/mpc512x/speed.c and
arch/powerpc/cpu/mpc83xx/speed.c), now it is high time to turn this
into a generic command that can be used by everyone.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Pain is a thing of the mind.  The mind can be controlled.
	-- Spock, "Operation -- Annihilate!" stardate 3287.2

  reply	other threads:[~2011-10-17 10:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17  8:01 [U-Boot] [PATCH v2 0/5] addition of clocks command for davinci manjunath.hadli at ti.com
2011-10-17  8:01 ` [U-Boot] [PATCH v2 1/5] davinci : move clock related functions to new file manjunath.hadli at ti.com
2011-10-17  8:01 ` [U-Boot] [PATCH v2 2/5] davinci: remove macro CONFIG_DISPLAY_CPUINFO manjunath.hadli at ti.com
2011-10-17  8:01 ` [U-Boot] [PATCH v2 3/5] davinci: add clocks command manjunath.hadli at ti.com
2011-10-17 10:20   ` Andreas Bießmann
2011-10-17 10:53     ` Wolfgang Denk [this message]
2011-10-17  8:01 ` [U-Boot] [PATCH v2 4/5] dm365: add support to print cpu clock information manjunath.hadli at ti.com
2011-10-17  8:01 ` [U-Boot] [PATCH v2 5/5] da8xx: print ARM and DDR frequency from u-boot manjunath.hadli at ti.com

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=20111017105334.B187F140797D@gemini.denx.de \
    --to=wd@denx.de \
    --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