[PATCH v5 1/6] clk: add of_clk_get_parent_rate function

Stephen Boyd sboyd at codeaurora.org
Wed Feb 25 14:09:51 PST 2015

On 02/04/15 16:55, Ray Jui wrote:
> Sometimes a clock needs to know the rate of its parent before itself is
> registered to the framework. An example is that a PLL may need to
> initialize itself to a specific VCO frequency, before registering to the
> framework. The parent rate needs to be known, for PLL multipliers and
> divisors to be configured properly.
> Introduce helper function of_clk_get_parent_rate, which can be used to
> obtain the parent rate of a clock, given a device node and index.
> Signed-off-by: Ray Jui <rjui at broadcom.com>

Reviewed-by: Stephen Boyd <sboyd at codeaurora.org>

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

More information about the linux-arm-kernel mailing list