Tegra: per-soc `get_target_pwr_state` handler
authorVarun Wadekar <vwadekar@nvidia.com>
Tue, 7 Jun 2016 19:00:06 +0000 (12:00 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 28 Feb 2017 16:50:01 +0000 (08:50 -0800)
commita7cd0953d67e949104b754296c1f5aab08d42e3f
treebaa25a3c3101e5863b93731a5f792be3e0918348
parentda3849ecc034fb70c6c8b88889c19f79f2a587b7
Tegra: per-soc `get_target_pwr_state` handler

This patch implements a per-soc handler to calculate the target
power state for the cluster/system. A weak implementation of the
handler is provided for platforms to use by default.

For SoCs with multiple CPU clusters, this handler would provide
the individual cluster/system state, allowing the PSCI service to
flush caches during cluster/system power down.

Change-Id: I568cdb42204f9841a8430bd9105bd694f71cf91d
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/tegra_pm.c