[RFC/RFT v3 02/14] clk: core: introduce clk_hw_set_parent()

Martin Blumenstingl martin.blumenstingl at googlemail.com
Tue Jul 2 16:05:31 PDT 2019


On Mon, Jul 1, 2019 at 11:13 AM Neil Armstrong <narmstrong at baylibre.com> wrote:
>
> Introduce the clk_hw_set_parent() provider call to change parent of
> a clock by using the clk_hw pointers.
>
> This eases the clock reparenting from clock rate notifiers and
> implementing DVFS with simpler code avoiding the boilerplates
> functions as __clk_lookup(clk_hw_get_name()) then clk_set_parent().
>
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
for the same reason this is handy for the meson8b clock driver as well, so:
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-amlogic mailing list