From: vikas.sajjan@linaro.org (Vikas Sajjan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 7/7] clk: samsung: Add EPLL and VPLL freq table for exynos5250 SoC
Date: Tue, 18 Jun 2013 12:40:39 +0530 [thread overview]
Message-ID: <CAD025yQ3MnPyVmDCCdGNsvkCPeGRLyAuf7KNgxfKc9JL08qXDw@mail.gmail.com> (raw)
In-Reply-To: <CAL1qeaHSmMajbuChS6BLzW=jQWBF7Dse8pvSLGsZibzCUdx_hQ@mail.gmail.com>
Hi Andrew,
On 18 June 2013 01:38, Andrew Bresticker <abrestic@chromium.org> wrote:
>> +static __initdata struct samsung_pll_rate_table epll_24mhz_tbl[] = {
>> + /* sorted in descending order */
>> + /* PLL_36XX_RATE(rate, m, p, s, k) */
>> + PLL_36XX_RATE(192000000, 48, 3, 1, 0),
>> + PLL_36XX_RATE(180633600, 45, 3, 1, 10381),
>> + PLL_36XX_RATE(180000000, 45, 3, 1, 0),
>> + PLL_36XX_RATE(73728000, 73, 3, 3, 47710),
>> + PLL_36XX_RATE(67737600, 90, 4, 3, 20762),
>> + PLL_36XX_RATE(49152000, 49, 3, 3, 9962),
>> + PLL_36XX_RATE(45158400, 45, 3, 3, 10381),
>> + PLL_36XX_RATE(32768000, 131, 3, 5, 4719),
>> + { },
>> +};
>
> I believe the UM says that 64 <= m <= 511. Although the above seems
> to work on 5250 and 5420, it might be better to use a table that
> conforms to the constraint on m:
>
OK, will test with the below table and resend.
> PLL_36XX_RATE(192000000, 64, 2, 2, 0),
> PLL_36XX_RATE(180633600, 90, 3, 2, 20762),
> PLL_36XX_RATE(180000000, 90, 3, 2, 0),
> PLL_36XX_RATE(73728000, 98, 2, 4, 19923),
> PLL_36XX_RATE(67737600, 90, 2, 4, 20762),
> PLL_36XX_RATE(49152000, 98, 3, 4, 19923),
> PLL_36XX_RATE(45158400, 90, 3, 4, 20762),
> PLL_36XX_RATE(32768000, 131, 3, 5, 4719)
>
> Thanks,
> Andrew
--
Thanks and Regards
Vikas Sajjan
prev parent reply other threads:[~2013-06-18 7:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-08 17:34 [PATCH v5 0/7] Add generic set_rate clk_ops for PLL35xx and PLL36xx for samsung SoCs Yadwinder Singh Brar
2013-06-08 17:34 ` [PATCH v5 1/7] clk: samsung: Introduce a common samsung_clk_pll struct Yadwinder Singh Brar
2013-06-08 17:34 ` [PATCH v5 2/7] clk: samsung: Define a common samsung_clk_register_pll() Yadwinder Singh Brar
2013-06-08 17:34 ` [PATCH v5 3/7] clk: samsung: Add support to register rate_table for PLL3xxx Yadwinder Singh Brar
2013-06-08 17:34 ` [PATCH v5 4/7] clk: samsung: Add set_rate() clk_ops for PLL35xx Yadwinder Singh Brar
2013-06-08 17:34 ` [PATCH v5 5/7] clk: samsung: Add set_rate() clk_ops for PLL36xx Yadwinder Singh Brar
2013-06-08 17:34 ` [PATCH v5 6/7] clk: samsung: Reorder MUX registration for mout_vpllsrc Yadwinder Singh Brar
2013-06-08 17:34 ` [PATCH v5 7/7] clk: samsung: Add EPLL and VPLL freq table for exynos5250 SoC Yadwinder Singh Brar
2013-06-17 20:08 ` Andrew Bresticker
2013-06-18 7:10 ` Vikas Sajjan [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=CAD025yQ3MnPyVmDCCdGNsvkCPeGRLyAuf7KNgxfKc9JL08qXDw@mail.gmail.com \
--to=vikas.sajjan@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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).