From: Tero Kristo <t-kristo@ti.com>
To: Peter Ujfalusi <peter.ujfalusi@ti.com>, <mturquette@linaro.org>,
<tony@atomide.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] clk: ti: clk-54xx: Set the rate for dpll_abe_m2x2_ck
Date: Mon, 19 May 2014 16:42:45 +0300 [thread overview]
Message-ID: <537A0A55.3030208@ti.com> (raw)
In-Reply-To: <1398857977-30114-1-git-send-email-peter.ujfalusi@ti.com>
On 04/30/2014 02:39 PM, Peter Ujfalusi wrote:
> In order to get correct clock dividers for AESS/ABE we need to set the
> dpll_abe_m2x2_ck rate to be double of dpll_abe_ck.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Thanks, queued for 3.15-rc/ti-clk-drv.
-Tero
> ---
> drivers/clk/ti/clk-54xx.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/clk/ti/clk-54xx.c b/drivers/clk/ti/clk-54xx.c
> index 08f3d1b915b3..5e183993e3ec 100644
> --- a/drivers/clk/ti/clk-54xx.c
> +++ b/drivers/clk/ti/clk-54xx.c
> @@ -240,6 +240,12 @@ int __init omap5xxx_dt_clk_init(void)
> if (rc)
> pr_err("%s: failed to configure ABE DPLL!\n", __func__);
>
> + abe_dpll = clk_get_sys(NULL, "dpll_abe_m2x2_ck");
> + if (!rc)
> + rc = clk_set_rate(abe_dpll, OMAP5_DPLL_ABE_DEFFREQ * 2);
> + if (rc)
> + pr_err("%s: failed to configure ABE m2x2 DPLL!\n", __func__);
> +
> usb_dpll = clk_get_sys(NULL, "dpll_usb_ck");
> rc = clk_set_rate(usb_dpll, OMAP5_DPLL_USB_DEFFREQ);
> if (rc)
>
prev parent reply other threads:[~2014-05-19 13:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 11:39 [PATCH] clk: ti: clk-54xx: Set the rate for dpll_abe_m2x2_ck Peter Ujfalusi
2014-05-19 13:42 ` Tero Kristo [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=537A0A55.3030208@ti.com \
--to=t-kristo@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=peter.ujfalusi@ti.com \
--cc=tony@atomide.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox