• Dmitry Osipenko's avatar
    soc/tegra: pmc: Add core power domain · f880ee9e
    Dmitry Osipenko authored
    NVIDIA Tegra SoCs have multiple power domains, each domain corresponds
    to an external SoC power rail. Core power domain covers vast majority of
    hardware blocks within a Tegra SoC. The voltage of a power domain should
    be set to a level which satisfies all devices within the power domain.
    Add support for the core power domain which controls voltage state of the
    domain. This allows us to support system-wide DVFS on Tegra20-210 SoCs.
    The PMC powergate domains now are sub-domains of the core domain, this
    requires device-tree updating, older DTBs are unaffected and will continue
    to work as before.
    
    Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya T30
    Tested-by: Paul Fertser <fercerpav@gmail.com> # PAZ00 T20
    Tested-by: Nicolas Chauvet <kwizart@gmail.com> # PAZ00 T20 and TK1 T124
    Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya T30
    Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
    Reviewed-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    [treding@nvidia.com: squash lockdep class removal patch]
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    f880ee9e
pmc.c 98.5 KB