tegra124: Add PSCI support for Tegra124
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 21 Apr 2015 05:18:35 +0000 (07:18 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:24:15 +0000 (09:24 -0700)
commitffdf9f9ae057131375534df5f1e798d1e64785e9
treed66c519bbabbe39e1d3a7521544a67338bbd39f2
parentce416fac3802528702e46663882d67cb8561b4c8
tegra124: Add PSCI support for Tegra124

This is based on Thierry Reding's work and uses Ian Campell's
preparatory patches. It comes with full support for CPU_ON/OFF PSCI
services. The algorithm used in this version for turning CPUs on and
off was proposed by Peter De Schrijver and Thierry Reding in
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/210881. It
consists of first enabling CPU1..3 via the PMC, just to powergate them
again with the help of the Flow Controller. Once the Flow Controller is
in place, we can leave the PMC alone while processing CPU_ON and CPU_OFF
PSCI requests.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra124/flow.h
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/psci.S [new file with mode: 0644]
arch/arm/mach-tegra/tegra124/Makefile
arch/arm/mach-tegra/tegra124/psci.c [new file with mode: 0644]