• Rhyland Klein's avatar
    clk: tegra: Remove improper flags for lock_enable · 14050118
    Rhyland Klein authored
    Most PLL's don't actually have LOCK_ENABLE bits. However, most PLL's
    also had that flag set, which meant that the clk code was trying to
    enable locks, and inadvertantly flipping bits in other fields.
    
    For PLLM, ensure the correct register is used for the misc_register.
    PLL_MISC0 contains the EN_LCKDET bit which should be used for enabling
    the lock, and PLLM_MISC1 shouldn't be used at all.
    
    Lastly, remove some of the settings which would point to the EN_LCKDET
    bits for some PLLs. There is no need to enable the locks, and that is
    done as part of the set_defaults logic already.
    Signed-off-by: default avatarRhyland Klein <rklein@nvidia.com>
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    14050118
clk-tegra210.c 94.1 KB