From: "Cousson, Benoit" <b-cousson@ti.com>
To: Ameya Palande <ameya.palande@ti.com>, "Hilman, Kevin" <khilman@ti.com>
Cc: linux-omap@vger.kernel.org, paul@pwsan.com, "Turquette,
Mike" <mturquette@ti.com>
Subject: Re: [PATCH] ARM: OMAP4: clock: fix mult and div mask for USB_DPLL
Date: Tue, 24 Jan 2012 10:53:14 +0100 [thread overview]
Message-ID: <4F1E7F8A.4010805@ti.com> (raw)
In-Reply-To: <1326929954-3912-1-git-send-email-ameya.palande@ti.com>
+ Mike
On 1/19/2012 12:39 AM, Ameya Palande wrote:
> Signed-off-by: Ameya Palande<ameya.palande@ti.com>
Assuming that you will re-send with Kevin's comment taken into account,
the fix is indeed very valid.
Acked-by: Benoit Cousson <b-cousson@ti.com>
> ---
> arch/arm/mach-omap2/clock44xx_data.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c
> index 08e86d7..053cc15 100644
> --- a/arch/arm/mach-omap2/clock44xx_data.c
> +++ b/arch/arm/mach-omap2/clock44xx_data.c
> @@ -953,8 +953,8 @@ static struct dpll_data dpll_usb_dd = {
> .modes = (1<< DPLL_LOW_POWER_BYPASS) | (1<< DPLL_LOCKED),
> .autoidle_reg = OMAP4430_CM_AUTOIDLE_DPLL_USB,
> .idlest_reg = OMAP4430_CM_IDLEST_DPLL_USB,
> - .mult_mask = OMAP4430_DPLL_MULT_MASK,
> - .div1_mask = OMAP4430_DPLL_DIV_MASK,
> + .mult_mask = OMAP4430_DPLL_MULT_USB_MASK,
> + .div1_mask = OMAP4430_DPLL_DIV_0_7_MASK,
We were wrongly assuming that all DPLLs were using the same mask, which
cannot be the case for the USB DPLL since that one has a higher max
multiplier and max divider than the other ones (4095/256 instead of
2047/128).
For Mike and Paul,
It is indeed a bug in the clock generator script.
Regards,
Benoit
next prev parent reply other threads:[~2012-01-24 9:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 23:39 [PATCH] ARM: OMAP4: clock: fix mult and div mask for USB_DPLL Ameya Palande
2012-01-20 19:52 ` Palande, Ameya
2012-01-23 23:34 ` Kevin Hilman
2012-01-24 9:53 ` Cousson, Benoit [this message]
2012-01-25 1:35 ` Ameya Palande
2012-01-25 1:35 ` Ameya Palande
2012-01-25 19:04 ` Paul Walmsley
2012-01-25 19:04 ` Paul Walmsley
2012-01-25 19:05 ` Paul Walmsley
2012-01-25 19:05 ` Paul Walmsley
2012-01-25 19:46 ` Cousson, Benoit
2012-01-25 19:46 ` Cousson, Benoit
2012-01-25 18:10 ` Turquette, Mike
2012-01-25 22:45 ` Palande, Ameya
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=4F1E7F8A.4010805@ti.com \
--to=b-cousson@ti.com \
--cc=ameya.palande@ti.com \
--cc=khilman@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=mturquette@ti.com \
--cc=paul@pwsan.com \
/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.