From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: clock-cpg div4 set_rate() shift fix
Date: Mon, 22 Feb 2010 10:15:57 +0000 [thread overview]
Message-ID: <20100222101557.GC1417@linux-sh.org> (raw)
In-Reply-To: <20100219091200.472.86301.sendpatchset@t400s>
On Fri, Feb 19, 2010 at 06:12:00PM +0900, Magnus Damm wrote:
> Make sure the div4 bitfield is shifted according
> to the enable_bit value in sh_clk_div4_set_rate().
On Fri, Feb 19, 2010 at 06:22:25PM +0900, Magnus Damm wrote:
> This patch introduces struct clk_div4_table. The structure
> will be used to keep div4 specific data, and is with this
> patch replacing the struct clk_div_mult_table pointer arg
> used by the sh_clk_div4_register() functions.
On Fri, Feb 19, 2010 at 06:26:56PM +0900, Magnus Damm wrote:
> This patch adds a ->kick() callback to clk_div4_table
> and ties it into sh_clk_div4_set_rate(). A sh7724
> specific kick function is also added that updates the
> KICK bit whenever div4 clocks in FRQCRA and FRQCRB
> have been set. Allows us to set the VPU clock.
On Fri, Feb 19, 2010 at 06:33:47PM +0900, Magnus Damm wrote:
> Update the sh7724 processor code to always enable vpu_clk.
>
> On the Ecovec board, set the vpu_clk to 166 Mhz.
>
> The 166MHz setting results in a divide-by-6 setup for
> vpu_clk and improves the VPU performance compared to the
> power-on-reset/bootloader configuration.
All applied, thanks.
prev parent reply other threads:[~2010-02-22 10:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-19 9:12 [PATCH] sh: clock-cpg div4 set_rate() shift fix Magnus Damm
2010-02-22 10:15 ` Paul Mundt [this message]
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=20100222101557.GC1417@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).