]> git.sur5r.net Git - u-boot/commit
ARM: tegra: amend pmc.h for Tegra114+
authorStephen Warren <swarren@nvidia.com>
Fri, 24 Jan 2014 17:23:02 +0000 (10:23 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 3 Feb 2014 16:46:45 +0000 (09:46 -0700)
commit9399e540ca5b984582cddb1936ec44bf2756f8a1
tree8b2d2ec13c30c1dee1304ee52b713b26cd48f497
parentc82014daf5ed8030d2ec5903bd51b5ab817fb000
ARM: tegra: amend pmc.h for Tegra114+

Tegra114 and later's PMC module removes the pwrgate_timer_on register
and replaces it with a clamp_status register. Adjust pmc.h to reflect
this, and update any code affected by the change.

The cpu.c change in this patch was extracted from a much larger patch
by Jimmy Zhang. The pmc.h change was written from scratch, but inspired
by related changes made by Tom Warren.

There could well be other differences in the PMC register set for chips
after Tegra20/30. However, they don't affect the code in U-Boot at
present, so I haven't attempted an exhaustive update of pmc.h.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/arm720t/tegra114/cpu.c
arch/arm/include/asm/arch-tegra/pmc.h