• Danny Huang's avatar
    clk: tegra: pll: Update PLLM handling · 267b62a9
    Danny Huang authored
    PLLM is fixed for Tegra30 up through Tegra114. Starting with Tegra124
    PLLM can change rate. Mark PLLM as TEGRA_PLL_FIXED for the generations
    where it should be. Modify the check in clk_pll_round_rate() and
    clk_pll_recalc_rate() to allow for the non-fixed version to return the
    correct rate.
    
    Note that there is no change for Tegra20. This is because PLLM is not
    distinguished in that driver, and adding either the PLLM or FIXED_RATE
    flags will cause potential problems.
    
    PLLM never supported dynamic ramping. On Tegra20 and Tegra30, there is
    no dynamic ramping at all, and on Tegra114, Tegra124 and Tegra132, only
    PLLX and PLLC support dynamic ramping, so we can go ahead and remove the
    specialized pllm_ops.
    Signed-off-by: default avatarDanny Huang <dahuang@nvidia.com>
    Signed-off-by: default avatarRhyland Klein <rklein@nvidia.com>
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    267b62a9
clk-tegra30.c 55.3 KB