• Prashant Gaikwad's avatar
    clk: tegra: add Tegra specific clocks · 8f8f484b
    Prashant Gaikwad authored
    Add Tegra specific clocks, pll, pll_out, peripheral, frac_divider, super.
    Signed-off-by: default avatarPrashant Gaikwad <pgaikwad@nvidia.com>
    [swarren: alloc sizeof(*foo) not sizeof(struct foo), add comments re:
    storing pointers to stack variables, make a timeout loop more idiomatic,
    use _clk_pll_disable() not clk_disable_pll() from _program_pll() to
    avoid redundant lock operations, unified tegra_clk_periph() and
    tegra_clk_periph_nodiv(), unified tegra_clk_pll{,e}, rename all clock
    registration functions so they don't have the same name as the clock
    structs, return -EINVAL from clk_plle_enable when matching table rate
    not found, pass ops to _tegra_clk_register_pll rather than a bool.]
    Acked-by: default avatarMike Turquette <mturquette@linaro.org>
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    8f8f484b
clk-divider.c 4.32 KB