summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock/meson8b-clkc.h
diff options
context:
space:
mode:
authorJon Hunter2018-12-03 11:28:41 +0100
committerStephen Boyd2018-12-14 22:32:55 +0100
commitb158aeeacc551a689dc26824800a0a27f3668bb1 (patch)
treedcb8fc8023fecbacba0d48a47312de7057f7276b /include/dt-bindings/clock/meson8b-clkc.h
parentsoc/tegra: pmc: Drop SMP dependency from CPU APIs (diff)
downloadkernel-qcow2-linux-b158aeeacc551a689dc26824800a0a27f3668bb1.tar.gz
kernel-qcow2-linux-b158aeeacc551a689dc26824800a0a27f3668bb1.tar.xz
kernel-qcow2-linux-b158aeeacc551a689dc26824800a0a27f3668bb1.zip
clk: tegra30: Use Tegra CPU powergate helper function
Rather than using the tegra_powergate_is_powered() function for determining if a CPU is powered, use the tegra_pmc_cpu_is_powered() instead which was created to get the CPU power status. Internally tegra_pmc_cpu_is_powered() calls tegra_powergate_is_powered() and so is equivalent. The Tegra30 clock driver is the only public user of tegra_powergate_is_powered() and so by updating the Tegra30 clock driver to use tegra_pmc_cpu_is_powered(), we can then make tegra_powergate_is_powered() a non-public function. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings/clock/meson8b-clkc.h')
0 files changed, 0 insertions, 0 deletions