[PATCH v4 1/6] clk: samsung: Use clk->base instead of directly using clk->con0 for PLL3xxx
Doug Anderson
dianders at chromium.org
Wed Jun 12 17:50:29 EDT 2013
Tomasz,
On Wed, Jun 12, 2013 at 2:19 PM, Tomasz Figa <tomasz.figa at gmail.com> wrote:
> Hmm, if done properly, it could simplify PLL registration in SoC clock
> initialization code a lot.
>
> I'm not sure if this is really the best solution (feel free to suggest
> anything better), but we could put PLLs in an array, like other clocks,
> e.g.
>
> ... exynos4210_pll_clks[] = {
> CLK_PLL45XX(...),
> CLK_PLL45XX(...),
> CLK_PLL46XX(...),
> CLK_PLL46XX(...),
> };
>
> and then just call a helper like
>
> samsung_clk_register_pll(exynos4210_pll_clks,
> ARRAY_SIZE(exynos4210_pll_clks));
Something like that looks like what I was thinking. I'd have to see
it actually coded up to see if there's something I'm missing that
would prevent us from doing that, but I don't see anything.
-Doug
More information about the linux-arm-kernel
mailing list