All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: John Steele Scott <toojays@toojays.net>
Cc: linuxppc-dev list <linuxppc-dev@lists.linuxppc.org>,
	Christiaan Welvaart <cjw@daneel.dyndns.org>
Subject: Re: nearly-working support for cpufreq on 2004 iBook G4 with 7447A cpu
Date: Tue, 01 Jun 2004 09:41:00 +1000	[thread overview]
Message-ID: <1086046859.9638.70.camel@gaston> (raw)
In-Reply-To: <200405311807.59356.toojays@toojays.net>


On Mon, 2004-05-31 at 18:37, John Steele Scott wrote:
>
> On Mon, 31 May 2004 01:19 pm, Benjamin Herrenschmidt wrote:
> > Ok, that's weird, I don't see the same kind of clock chip on i2c as
> > the previous model had... Can you check the exact dividers programmed
> > on the CPU and redo the calculation based on the bus frequency ?
>
> Okay.
>
> At boot: HID1=80414c80 => PLL_CFG=10100, i.e. 4:1 core multiplier
>
> After clearing DFS, HID1=80018c80 => PLL_CFG=11000, i.e. 8:1 core multiplier
>
> I decoded the PLL values using the table on page 31 of Moto's MPC7447AEC.pdf.
>
> bash-2.05b$ cat /proc/device-tree/clock-frequency  | xxd
> 0000000: 07ef 4679                                ..Fy
> bash-2.05b$ python -c 'print "%d" % 0x07ef4679'
> 133121657
>
> Looks sensible to me. Does it give you any clues?

Not sure at this point, play with DFS during boot and see what bogomips
you get maybe...


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2004-05-31 23:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-30 14:01 nearly-working support for cpufreq on 2004 iBook G4 with 7447A cpu John Steele Scott
2004-05-30 22:43 ` Benjamin Herrenschmidt
2004-05-30 22:43   ` Benjamin Herrenschmidt
2004-05-31  0:32   ` John Steele Scott
2004-05-31  0:29     ` Benjamin Herrenschmidt
2004-05-31  3:49     ` Benjamin Herrenschmidt
2004-05-31  8:37       ` John Steele Scott
2004-05-31 23:41         ` Benjamin Herrenschmidt [this message]
2004-05-31 23:47         ` Benjamin Herrenschmidt
2004-06-01  2:05           ` nearly-working support for cpufreq on 2004 iBook G4 with 7447Acpu John Steele Scott
2004-06-01  2:53             ` Benjamin Herrenschmidt
2004-06-02 11:08           ` nearly-working support for cpufreq on 2004 iBook G4 with 7447A cpu John Steele Scott
2004-06-03 22:26             ` Benjamin Herrenschmidt

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=1086046859.9638.70.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=cjw@daneel.dyndns.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=toojays@toojays.net \
    /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.