]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: tegra: powergate: Use PMC register accessors
authorThierry Reding <treding@nvidia.com>
Wed, 11 Jun 2014 11:48:05 +0000 (13:48 +0200)
committerStephen Warren <swarren@nvidia.com>
Mon, 16 Jun 2014 21:19:38 +0000 (15:19 -0600)
commit658cba1590d86b5a1aae25694f1b3e6e1dd44191
tree0a04fe781cc6d4eef74c0f743ec635161d6c8836
parentd97f79366c566b2986cf6a142eb4d04a6eb4e970
ARM: tegra: powergate: Use PMC register accessors

Instead of I/O remapping the registers itself, make the powergate API
use the PMC register accessors from the PMC implementation.

This is necessary to allow these drivers to be moved out of arch/arm,
which in turn will be needed to share code with 64-bit Tegra SoCs.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/pmc.c
arch/arm/mach-tegra/pmc.h
arch/arm/mach-tegra/powergate.c