[PATCH 1/3] clk: meson: Add support for Meson clock controller

Carlo Caione carlo at caione.org
Fri May 1 01:00:04 PDT 2015


On Wed, Apr 22, 2015 at 9:31 AM, Carlo Caione <carlo at caione.org> wrote:
> On Sat, Apr 11, 2015 at 1:31 AM, Michael Turquette
> <mturquette at linaro.org> wrote:
>> Why use a notifier for this? Could you simply call
>> meson_clk_cpu_{pre,post}_rate_change directly from
>> meson_clk_cpu_set_rate?
>
> Hi Mike,
>
> the notifier is used to reparent the CPU clock when the frequency of
> the parent PLL is changed and before the PLL frequency is actually
> changed.
> IIUC using the {pre,post} hooks from meson_clk_cpu_set_rate doesn't
> achieve the same. The idea is adapted from the CPU clock driver of the
> rockchip SoCs (rockchip/clk-cpu.c).

Hey Mike,
what do you think about this point?

-- 
Carlo Caione



More information about the linux-arm-kernel mailing list